Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Parse data into large number of output files.

by steves (Curate)
on Sep 29, 2004 at 01:43 UTC ( #394817=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://394817]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2020-11-26 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?