Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Difference in sort order between Solaris and Linux

by moritz (Cardinal)
on Mar 05, 2014 at 12:18 UTC ( #1077070=note: print w/replies, xml ) Need Help??


in reply to Difference in sort order between Solaris and Linux

$ENV{LANG} = 'en_US'; $ENV{LC_ALL} = 'en_US.ISO8859-1';

I think you need to put that into a BEGIN { ... } block, otherwise it won't be set by the time use locale; is running.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1077070]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-02-04 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (30 votes). Check out past polls.

    Notices?