Just another Perl shrine | |
PerlMonks |
Re: creating multiple views of a hash by reordering its key and valuesby George_Sherston (Vicar) |
on Jun 26, 2002 at 10:50 UTC ( [id://177351]=note: print w/replies, xml ) | Need Help?? |
Stop me if I'm saying something obvious, but does the plan of your script commit you to this data structure? - if not, would there be any merit in considering an array of hashes? - each hash having the three keys user, date, file. Then it would be easy to grep out the bits you want, e.g.
to get everything by Fred between the 6th and 16th of this month. § George Sherston
In Section
Seekers of Perl Wisdom
|
|