the filename is not passed in @ARGV
Of course there's nothing to stop you putting it there :)
--my @args = @ARGV; @ARGV = 'filename.txt'; my @found = grep { /^args[0]/ } <>;
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Re: Re: quick "open->close" file
by davorg
in thread quick "open->close" file
by bugsbunny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |