|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: parallel readingby Zaxo (Archbishop) |
| on May 09, 2006 at 13:38 UTC ( #548208=note: print w/ replies, xml ) | Need Help?? |
|
Here's another, That will let the files have different numbers of lines. Memory use is small, and independent of file size. Update: Repaired the thinko blazar++ spotted. Empty lines are not a problem - we don't chomp, so they retain newlines until we s/// them gone. I like blazar's extension to different numbers of files. After Compline,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||