Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: perllocale weirdness, bug, or...?

by thundergnat (Deacon)
on Oct 20, 2010 at 18:23 UTC ( #866381=note: print w/ replies, xml ) Need Help??


in reply to perllocale weirdness, bug, or...?

It is almost definitely a locale weirdness thing. To get an idea of your local(e) sort order, try running the following: It's probably not what you might suspect.

#!/usr/bin/perl use strict; use warnings; { no locale; print "\nNO Locale:\n\n"; print +(join ' ', sort grep /\w/, map { chr } 0..255), "\n"; } { use locale; print "\nWith 'use locale;':\n\n"; print +(join ' ', sort grep /\w/, map { chr } 0..255), "\n"; }


Comment on Re: perllocale weirdness, bug, or...?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2014-07-23 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (133 votes), past polls