Geography::JapanesePrefectures::Unicode - Japanese Prefectures Data.
use Geography::JapanesePrefectures::Unicode; Geography::JapanesePrefectures::Unicode->prefectures_in('関東'); # => qw(茨城県 栃木県 群馬県 埼玉県 千葉県 東京都 神奈川県 山梨県) Geography::JapanesePrefectures::Unicode->prefectures_id('東京'); # => 13
This module allows you to get information on Japanese Prefectures names. and region.
my @prefectures = Geography::JapanesePrefectures::Unicode->prefectures;
get the prefectures names.
my @regions = Geography::JapanesePrefectures::Unicode->regions;
get the region names.
my @prefectures = Geography::JapanesePrefectures::Unicode->prefectures_in('関東'); # => qw(茨城県 栃木県 群馬県 埼玉県 千葉県 東京都 神奈川県 山梨県)
get prefectures in region.
Geography::JapanesePrefectures::Unicode->prefectures_id('和歌山県'); # => 30
get prefecture's ID.
Geography::JapanesePrefectures::Unicode->prefectures_infos(); # => [ { id => 1, name => '北海道', region => '北海道' }, ... ]
get all informations.
Tatsuhiko Miyagawa Yappo nipotan Shot(for greeting) nekokak lopnor
Tokuhiro Matsuno <tokuhirom@gmail.com>
http://ja.wikipedia.org/wiki/JIS_X_0401#.E9.83.BD.E9.81.93.E5.BA.9C.E7.9C.8C.E3.82.B3.E3.83.BC.E3.83.89
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Geography::JapanesePrefectures, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geography::JapanesePrefectures
CPAN shell
perl -MCPAN -e shell install Geography::JapanesePrefectures
For more information on module installation, please visit the detailed CPAN module installation guide.