in reply to Re^2: Sort the array
in thread Sort the array
<=> is a numeric equality operator. See perlop for details. $main::a and $main::b are special variables that sort uses internally. So the code block is a call-back subroutine that sort uses to compare the values of the incoming list.
|
|---|