good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Efficiently sorting array by non-alpha stringsby BrowserUk (Patriarch) |
on Feb 20, 2004 at 16:18 UTC ( [id://330584]=note: print w/replies, xml ) | Need Help?? |
This would do it and is easier to extend than the multiple ifs or an if/else cascade.
Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"Think for yourself!" - Abigail Timing (and a little luck) are everything!
In Section
Seekers of Perl Wisdom
|
|