Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: sorting array of array references with multiple dereferenced array elementsby LanX (Saint) |
on Sep 23, 2014 at 13:16 UTC ( [id://1101634]=note: print w/replies, xml ) | Need Help?? |
This > for my $i (0 .. $#a) { looks wrong: $a is an array ref there is no @a involved. IIRC $#$a should do. Note This code is untested. ;)
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :)
updatenow tested! :)
though I couldn't find a good documentation yet! :(
In Section
Seekers of Perl Wisdom
|
|