in reply to how sort works
0 is returned if $a and $b are equal.
1 is returned if $a is greater than $b.
-1 is returned if $a is less than $b.
BrowserUk wrote A brief tutorial on Perl's native sorting facilities. It'll help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how sort works
by Anonymous Monk on Mar 07, 2011 at 12:15 UTC |