Syntactic Confectionery Delight | |
PerlMonks |
Re: Parse data into large number of output files.by steves (Curate) |
on Sep 29, 2004 at 01:43 UTC ( [id://394817]=note: print w/replies, xml ) | Need Help?? |
If memory isn't an issue, my first choice would be to hash each line by sender, into a hash who's keys are senders and who's values are an array of lines per sender. At the end of the program, iterate over each sender, opening a file, writing the sender's lines to it, and closing the file.
In Section
Seekers of Perl Wisdom
|
|