http://qs321.pair.com?node_id=394817


in reply to Parse data into large number of output files.

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.

  • Comment on Re: Parse data into large number of output files.