Geography::BrazilianStates - get information of Brazilian States
use Geography::BrazilianStates; Geography::BrazilianStates->states; # => get all states Geography::BrazilianStates->abbreviations; # => get all abbreviations Geography::BrazilianStates->capitals; # => get all capitals Geography::BrazilianStates->regions; # => get all regions Geography::BrazilianStates->abbreviation('Amazonas'); # => 'AM' Geography::BrazilianStates->abbreviation('AM'); # => 'Amazonas' Geography::BrazilianStates->capital('Amazonas'); # => 'Manaus' Geography::BrazilianStates->capital('Manaus'); # => 'Amazonas' Geography::BrazilianStates->region('Amazonas'); # => 'Norte' Geography::BrazilianStates->region('Norte'); # => qw(Acre Amapá Amazonas Pará Rondônia Roraima Tocantins) Geography::BrazilianStates->states_all; # => get all states with full information as ArrayRef
This module provides you Brazilian States information like name, abbreviation, capital, and region itself.
@states = Geography::BrazilianStates->states;
get all states
@abbreviations = Geography::BrazilianStates->abbreviations;
get all abbreviations
@capitals = Geography::BrazilianStates->capitals;
get all capitals
@regions = Geography::BrazilianStates->regions;
get all regions
Geography::BrazilianStates->abbreviation('Amazonas'); # => 'AM' Geography::BrazilianStates->abbreviation('AM'); # => 'Amazonas'
Geography::BrazilianStates->capital('Amazonas'); # => 'Manaus' Geography::BrazilianStates->capital('Manaus'); # => 'Amazonas'
Geography::BrazilianStates->region('Amazonas'); # => 'Norte' Geography::BrazilianStates->region('Norte'); # => qw(Acre Amapá Amazonas Pará Rondônia Roraima Tocantins)
Geography::BrazilianStates->states_all; # => get all states with full information as ArrayRef
Copyright (C) yuzoiwasaki.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
yuzoiwasaki <a0556017@sophia.jp>
To install Geography::BrazilianStates, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geography::BrazilianStates
CPAN shell
perl -MCPAN -e shell install Geography::BrazilianStates
For more information on module installation, please visit the detailed CPAN module installation guide.