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 reply to RE: Data structure for log file processing
by nuance
in thread Data structure for log file processing
by husker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |