Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Sorting Hash / Arrayby cdarke (Prior) |
on May 16, 2012 at 19:21 UTC ( [id://970896]=note: print w/replies, xml ) | Need Help?? |
Accepted, but... the string comparison is not accurate for IP addresses. Originally I was going to do a cascade comparison on each octet, but lost the will to live and suggested Net::IPAddress instead. Inline code can be messy, but I accept your argument about the hard-coded reference.
In Section
Seekers of Perl Wisdom
|
|