Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.468.908 Times

Geography::USStates 0.12

  Date Added: October 23, 2010  |  Visits: 1.163

Geography::USStates

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 downloads)



Geography::USStates is a Perl module that allows you to get information on US State names, their abbreviations, and couple the two together (in hashes). SYNOPSIS use Geography::USStates; # -- just getState* functions use Geography::USStates qw(:areas); # -- just getArea* functions use Geography::USStates qw(:both); # -- just getState*Area* functions use Geography::USStates qw(:both); # -- all functions # ------ US STATES BASED $state = getState(mn); # -- get the statename Minnesota $state = getState(wisconsin); # -- get the abbreviation wi @states = getStateNames(); # -- return all state names @states = getStateAbbrevs(); # -- return all state abbrevations (AL, AK, ..) %s = getStates(); # -- return hash $states{MN} = Minnesota %s = getStates(case=>upper); # -- return hash $states{MN} = MINNESOTA %s = getStates(case=>lower); # -- return hash $states{MN} = minnesota %s = getStates(hashkey=>name);# -- return hash $states{Minnesota} = MN # ------ US AREAS $area = getArea(gu); # -- get the area name Guam $area = getArea(guam); # -- get the abbreviation gu @areas = getAreaNames(); # -- return all area names @areas = getAreaAbbrevs(); # -- return all area abbrevations (DC, GU, ..) %a = getAreas(); # -- return hash $states{GU} = Guam %a = getAreas(case=>upper); # -- return hash $states{GU} = GUAM %a = getAreas(case=>lower); # -- return hash $states{GU} = guam %a = getAreas(hashkey=>name); # -- return hash $states{Guam} = GU # ------ Lookup both US States and Dependant areas # -- get the statename Minnesota or Guam respectivily $state = getStateOrArea(mn || gu); # -- get the abbreviation wi or gu respectivily $state = getStateOrArea(wisconsin || guam); # -- return all states and areas names together @states = getStatesAndAreasNames(); # -- return all states and areas abbreviations together @states = getStatesAndAreasAbbrevs(); # -- same as getStates() but it returns the areas in the hash too %s = getStatesAndAreas(); %s = getStatesAndAreas(case=>upper); %s = getStatesAndAreas(case=>lower); %s = getStatesAndAreas(hashkey=>name);.

Requirements: No special requirements
Platforms: Linux
Keyword: Geographyusstates Get Information Get Information On Gu Hash Mn Perl Module Return State States To Get Us State Usstates
Users rating: 0/10

License: Freeware Size: 4.1 KB
USER REVIEWS
More Reviews or Write Review


GEOGRAPHY::USSTATES RELATED
Libraries  -  Tie::Hash::Sorted 0.10
Tie::Hash::Sorted Perl module presents hashes in sorted order. SYNOPSIS use Tie::Hash::Sorted; my %ages = ( John => 33, Jacob => 29, Jingle => 15, Heimer => 48, Smitz => 12, ); my $sort_by_numeric_value = sub { my $hash = shift; [...
8.19 KB  
Libraries  -  Hash::Merge 0.10
Hash::Merge Perl module merges arbitrarily deep hashes into a single hash. SYNOPSIS use Hash::Merge qw( merge ); my %a = ( foo => 1, bar => [ qw( a b e ) ], querty => { bob => alice }, ); my %b = ( foo => 2, bar => [ qw(c d) ], querty...
7.17 KB  
Modules  -  Information on top 1.0
Information on top moves the information box contents, to the top of the page. See readme file, installed in a minute..
 
Virus Removers  -  W32.Bugbear@mm 1.0
W32.Bugbear@mm is the latest email worm, Symantec has published complete information on what it is, what it does, and how to remove it. Our advice, as always, is "No exceptions - Never, ever, LEFT click on an email attachment. If you make it a...
174 KB  
Multimedia  -  DJ Status Script 1.8.2
DJ Status is an attempt at managing the DJs for your shoutcast radio station.It allows you to show information on the currently active DJ which could be useful to your visitors. Information such as IM contacts and a link to their song request page...
30.72 KB  
Libraries  -  File::Find::Rule::XPath 0.03
File::Find::Rule::XPath is a Perl module that contains rule to match on XPath expressions. SYNOPSIS use File::Find::Rule::XPath; my @files = File::Find::Rule->file ->name(*.dkb) ->xpath( //section/title[contains(., "Crustacean")] )...
4.1 KB  
Libraries  -  Text::VisualWidth 0.01
Text::VisualWidth is a Perl module that provides functions to treat half-width and full-width characters and display correct size of text in one line on terminals and mobile phones. You can know the visual width of any text and truncate text by...
31.74 KB  
Dictionaries  -  PDF::Create 0.06.1
PDF::Create is a Perl module that allows you to create PDF documents, possibly on the fly,using a large number of primitives.
33.02 KB  
Libraries  -  Spreadsheet::ParseExcel 0.32
Spreadsheet::ParseExcel is a Perl module to get information from an Excel file. This module allows you to get information from Excel file. This module can handle files of Excel95, 97 and 2000. (and now supports Excel4) The module will work...
98.3 KB  
Libraries  -  Finance::Quote 1.12
Finance::Quote is a Perl module to get stock and mutual fund quotes from various exchanges. SYNOPSIS use Finance::Quote; $q = Finance::Quote->new; $q->timeout(60); $conversion_rate = $q->currency("AUD","USD"); $q->set_currency("EUR"); #...
92.16 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB