Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

locale::us(3pm) [debian man page]

Locale::US(3pm) 					User Contributed Perl Documentation					   Locale::US(3pm)

NAME
Locale::US - two letter codes for state identification in the United States and vice versa. SYNOPSIS
use Locale::US; my $u = Locale::US->new; my $state = $u->{code2state}{$code}; my $code = $u->{state2code}{$state}; my @state = $u->all_state_names; my @code = $u->all_state_codes; ABSTRACT
Map from US two-letter codes to states and vice versa. DESCRIPTION
MAPPING $self->{code2state} This is a hashref which has two-letter state names as the key and the long name as the value. $self->{state2code} This is a hashref which has the long nameas the key and the two-letter state name as the value. DUMPING $self->all_state_names Returns an array (not arrayref) of all state names in alphabetical form $self->all_state_codes Returns an array (not arrayref) of all state codes in alphabetical form. KNOWN BUGS AND LIMITATIONS
o The state name is returned in "uc()" format. o neither hash is strict, though they should be. SEE ALSO
Locale::Country Locale::Country Abbreviations <http://www.usps.gov/ncsc/lookups/usps_abbreviations.htm> Online file with the USPS two-letter codes for the United States and its possessions. AUXILIARY CODE: lynx -dump http://www.usps.gov/ncsc/lookups/usps_abbreviations.htm > kruft.txt kruft2codes.pl COPYRIGHT INFO
Copyright (c) 2002 - $present Terrence Brannon. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. License: GPL, Artistic, available in the Debian Linux Distribution at /usr/share/common-licenses/{GPL,Artistic} AUTHOR
T. M. Brannon, <tbone@cpan.org> PATCHES Thanks to stevet AT ibrinc for a patch about second call to new failing. perl v5.12.4 2011-08-03 Locale::US(3pm)

Check Out this Related Man Page

Locale::Constants(3pm)					 Perl Programmers Reference Guide				    Locale::Constants(3pm)

NAME
Locale::Constants - constants for Locale codes SYNOPSIS
use Locale::Constants; $codeset = LOCALE_CODE_ALPHA_2; DESCRIPTION
Locale::Constants defines symbols which are used in the four modules from the Locale-Codes distribution: Locale::Language Locale::Country Locale::Currency Locale::Script Note: at the moment only Locale::Country and Locale::Script support more than one code set. The symbols defined are used to specify which codes you want to be used: LOCALE_CODE_ALPHA_2 LOCALE_CODE_ALPHA_3 LOCALE_CODE_NUMERIC You shouldn't have to "use" this module directly yourself - it is used by the three Locale modules, which in turn export the symbols. KNOWN BUGS AND LIMITATIONS
None at the moment. SEE ALSO
Locale::Language Codes for identification of languages. Locale::Country Codes for identification of countries. Locale::Script Codes for identification of scripts. Locale::Currency Codes for identification of currencies and funds. AUTHOR
Neil Bowers <neil@bowers.com> COPYRIGHT
Copyright (C) 2002-2004, Neil Bowers. Copyright (C) 2001, Canon Research Centre Europe (CRE). This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.5 2012-11-03 Locale::Constants(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl - How do you break the long line of codes into 2?

I'm trying to make this long line of codes in Perl looks nice by dividing it into 2 lines... Before: `echo "blahblahblahblahblahblahblahblahblahblahblah" > ~/lalala/lalala/lalala/lalala/lalala/abc`; After: `echo "blahblahblahblahblahblahblahblahblahblahblah" > ... (5 Replies)
Discussion started by: teiji
5 Replies

2. Shell Programming and Scripting

Help in creation of parameter file

Hi Guys, I have a parameter file. Sample of it as below: Name=unix Country=United States I want the output as follows -param Name=unix -param Country='United States' I am able to achieve appending the "-param" in front. But unable to append single quotes (') before and after... (6 Replies)
Discussion started by: mac4rfree
6 Replies

3. UNIX and Linux Applications

Where can I find UNIX training course in the United States?

Hi guys, Can you help me please to find an appropriate course of UNIX in the United States. Also, can you provide me some information about the schools or institutes that offer it in the U.S. Thanks, (0 Replies)
Discussion started by: Malik Dera
0 Replies