3 nviperl - nvi with embedded perl
9 :,$perldo $_=reverse($_)
13 nvi with embedded perl allows you to run perl commands from within nvi.
14 Two additional commands are made available when you enable the perl
21 The perl command passes the specified commands to the perl interpreter.
22 The C<$VI::ScreenId>, C<$VI::StartLine> and C<$VI::StopLine> are set.
23 To find out how to maniplulate the nvi screens, see L<VI>.
27 The perldo command runs the specified commands on each line of the range
28 (every line of the file if no range specified). Before running the
29 command the line is copied into $_. If the command returns a true value
30 the line is replaced by the new value of $_.
32 The perldo commando does B<not> set the C<VI> variables. (If you think
33 this is a bad idea, tell me.)
43 Sven Verdoolaege <skimo@kotnet.org>