I think you are going to have to explain what "see the file and then work in it" means, after all this could be as simple as:
my $editor = $ENV{EDITOR} || '/usr/bin/vi'; system($editor, shift);
/J\
In reply to Re: Open a file the way Ctrl+O works
by gellyfish
in thread Open a file the way Ctrl+O works
by eyidearie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |