Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Locale Country not working

by SBECK (Hermit)
on Aug 22, 2014 at 14:18 UTC ( #1098324=note: print w/replies, xml ) Need Help??


in reply to Re: Locale Country not working
in thread Locale Country not working

That is correct. The code was retired a number of versions ago.

If you really need to use codes that have been retired, the following will work (and is documented in the Locale::Codes::API document):

   code2country('an', 'alpha-2', 'retired');
   => 'Netherlands Antilles'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2020-10-24 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (246 votes). Check out past polls.

    Notices?