P is for Practical | |
PerlMonks |
Re: Sorting by numbersby the_slycer (Chaplain) |
on Aug 14, 2002 at 18:52 UTC ( [id://190190]=note: print w/replies, xml ) | Need Help?? |
Sounds like you are doing just a sort list What you need is sort { $a <=> $b }list See the perlfunc manpage for sort
In Section
Seekers of Perl Wisdom
|
|