There's more than one way to do things | |
PerlMonks |
Re: Custom Sort An AoAby johngg (Canon) |
on Apr 01, 2014 at 18:34 UTC ( [id://1080622]=note: print w/replies, xml ) | Need Help?? |
A kind-of recursive sort that doesn't require decoration.
The output.
I hope this is of interest. Update: Renamed the @revA and @revB variables to @arrA and @arrB as the final solution used pop rather than reverse and shift but I'd forgotten to rename at the time. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|