In addition, this
my $editor = $ENV{'editor'}; system('vim', $my_file);
should be like this:
my $editor = $ENV{'EDITOR'} || 'vim'; system($editor, $my_file);
In reply to Re^2: File handles and loops
by Anonymous Monk
in thread File handles and loops
by dr.jekyllandme
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |