Sorting IP addresses is the canonical example of a Packed Default sort that Uri Guttmann and Larry Rosler gave in their paper on sorting in Perl. It's online at
http://www.hpl.hp.com/personal/Larry_Rosler/sort/
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: sort @array help
by davorg
in thread sort @array help
by symŽ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |