my @data = do { my @copy = @ARGV; local $/; map { shift @copy, map /(.*\n?)/g, $_ } <>; };
-- Randal L. Schwartz, Perl hacker
In reply to Re: How do I read the files in @ARGV one by one
by merlyn
in thread How do I read the files in @ARGV one by one
by Elias
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |