Just another Perl shrine | |
PerlMonks |
RE: Data structure for log file processingby nuance (Hermit) |
on Aug 24, 2000 at 20:12 UTC ( [id://29446]=note: print w/replies, xml ) | Need Help?? |
I was going to make a hash with keys of ProductName and user@host, and store a string consisting of the date and time for each OUT record
I thought about just concatenating time+date+product+user@host into one string and pushing it on an array, and then scanning that array If you pushed that string from your first suggestion onto an anonymous array, it would be much easier to process. You basically end up with a hash of anonymous arrays that are more easily searched. Nuance
In Section
Seekers of Perl Wisdom
|
|