Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Hash sorting by valuesby cajun (Chaplain) |
on Aug 08, 2001 at 13:17 UTC ( [id://102992]=perlquestion: print w/replies, xml ) | Need Help?? |
cajun has asked for the wisdom of the Perl Monks concerning the following question:
This code is slightly modified version of miyagawa's code found at CodeRed notifier. Because I wasn't able to understand his regex to get $ip & $datetime, I chose another method to accomplish the task.
What I have thus far, produces output something like this:
What I would like to do is have the output sorted by $datetime (the values of the hash %ip2date, rather than the keys). Thus far, I've not been able to see how to do this. Here's what I have thus far:
Back to
Seekers of Perl Wisdom
|
|