Perl Monk, Perl Meditation | |
PerlMonks |
Re: perllocale weirdness, bug, or...?by Corion (Patriarch) |
on Oct 20, 2010 at 14:04 UTC ( [id://866331]=note: print w/replies, xml ) | Need Help?? |
See locale. Using locale changes your sort order to whatever is considered "natural" for the locale you have set up. I would avoid it, but I guess you can find out what locale is active and if you still want to use it, you can set your locale to 'C' for the time where you want the "usual" sort/string comparison behaviour of Perl.
In Section
Seekers of Perl Wisdom
|
|