
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>


This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.