in reply to How to launch vim from Perl
$a = <STDIN>; # This is one way of how you read user input print $a, "\n"; # This is one way of printing to stdout
while(my $line = <>) { # reads from stdin print $line; # prints everything to stdout }
`vim $some_file`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to launch vim from Perl
by BUU (Prior) on Nov 30, 2004 at 11:52 UTC | |
by thor (Priest) on Nov 30, 2004 at 13:45 UTC | |
by insaniac (Friar) on Nov 30, 2004 at 16:26 UTC |