Locale::AU - abbreviations for territory and state identification in Australia and vice versa
Version 0.01
use Locale::AU; my $u = Locale::AU->new(); my $state = $u->{code2state}{$code}; my $code = $u->{state2code}{$state}; my @state = $u->all_state_names; my @code = $u->all_state_codes;
Creates a Locale::AU object.
Returns an array (not arrayref) of all state codes in alphabetical form.
Returns an array (not arrayref) of all state names in alphabetical form
This is a hashref which has state abbreviations as the key and the long name as the value.
This is a hashref which has the long name as the key and the abbreviated state name as the value.
Locale::Country
Nigel Horne, <njh at bandsman.co.uk>
<njh at bandsman.co.uk>
The state name is returned in uc() format.
uc()
neither hash is strict, though they should be.
Jarvis Bay Territory is not handled
You can find documentation for this module with the perldoc command.
perldoc Locale::AU
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Locale-AU
CPAN Ratings
http://cpanratings.perl.org/d/Locale-AU
Search CPAN
http://search.cpan.org/dist/Locale-AU/
Based on Locale::US - Copyright (c) 2002 - $present Terrence Brannon.
$present
Copyright 2020 Nigel Horne.
This program is released under the following licence: GPL2
To install Locale::AU, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Locale::AU
CPAN shell
perl -MCPAN -e shell install Locale::AU
For more information on module installation, please visit the detailed CPAN module installation guide.