Perl Monk, Perl Meditation | |
PerlMonks |
$a <=> $bby truthseeker66 (Novice) |
on Oct 09, 2012 at 18:13 UTC ( [id://998048]=perlquestion: print w/replies, xml ) | Need Help?? |
truthseeker66 has asked for the wisdom of the Perl Monks concerning the following question: I see a line, "@sorted = sort {$a <=> $b} @array;"
The text book I read says, "When you need to sort data in
Back to
Seekers of Perl Wisdom
|
|