in reply to Re^2: How can I change the perl program involving if-elsif-else conditional to get correct result?
in thread How can I change the perl program involving if-elsif-else conditional to get correct result?
Also, $a and $b are special variables reserved for sort and other purposes. Don't uses these for normal user variables.@sorted = sort{$a <=> $b}($x, $y, $z); print $sorted[-1];
|
|---|