Think about Loose Coupling | |
PerlMonks |
Re^2: splitting file with mutiple output filenamesby Anonymous Monk |
on Apr 11, 2012 at 09:24 UTC ( [id://964484]=note: print w/replies, xml ) | Need Help?? |
I'd suggest to use while(<FH>) instead of foreach(<FH>). (while loop reads directly from file, for(each) loop slurps the entire file into memory first - really bad for huge files, but ok for small ones).
Maybe something like this: /code
In Section
Seekers of Perl Wisdom
|
|