in reply to How do I read the files in @ARGV one by one
Hmm. There was some other clever trick to dup a list too, but I can't recall now.@ARGV = $_, push @data, $_, <> for @{[@ARGV]};
-- Randal L. Schwartz, Perl hacker
@ARGV = $_, push @data, $_, <> for map $_, @ARGV;
|
---|