in reply to Re^2: perllocale weirdness, bug, or...?
in thread perllocale weirdness, bug, or...?
Oh - I hadn't seen that contradiction that runs counter to the intuition that "strings comparing larger" should compare starting from the left. I'm not sure what locale you actually run under. Maybe somebody who has actual working experience with locales can tell from $ENV{LC_ALL} or $ENV{LC_COLLATE} or $ENV{LANG} (see perllocale) what the active locale for your system is and how it affects sorting.
I would still avoid locales, exactly because they introduce hard to track down behaviour.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perllocale weirdness, bug, or...?
by Krambambuli (Curate) on Oct 20, 2010 at 14:32 UTC | |
by ikegami (Patriarch) on Oct 20, 2010 at 21:43 UTC | |
by Krambambuli (Curate) on Oct 21, 2010 at 10:08 UTC | |
by ikegami (Patriarch) on Oct 21, 2010 at 16:01 UTC | |
by choroba (Cardinal) on Oct 22, 2010 at 11:21 UTC | |
by Krambambuli (Curate) on Oct 22, 2010 at 12:20 UTC | |
|