Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Sort problemsby pobocks (Chaplain) |
on Dec 02, 2008 at 10:39 UTC ( [id://727358]=note: print w/replies, xml ) | Need Help?? |
How, with this many solutions, did I immediately gravitate toward the stupidest? My plan was to make a copy of the list, and then pad out all the numbers with leading zeroes to make them compare naturally under regular alphebetization. I felt that it was a stupid plan the moment it came up, but the stupidest? Woe is me...
for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";
In Section
Seekers of Perl Wisdom
|
|