in reply to Assist in understanding old code
but starts to retrieve and sort at index 0for(my $bn=1;$bn<=$row[0];$bn++)
Thus, you have an undef value in your comparison at nxxult[0] and you get a warning. Either change the loop to start filling the array at $nxxult[0] or count from 1 ... $#nxxult.@indexUlt=sort{$nxxult[$a]<=>$nxxult[$b]} 0 ... $#nxxult;
|
|---|