
WWW::YahooJapan::KanaAddress - translating the address in Japan into kana.

use WWW::YahooJapan::KanaAddress;
my $yahoo = WWW::YahooJapan::KanaAddress->new();
print $yahoo->search('山梨県', '鰍沢町', '鳥屋'), "\n";
results:
やまなしけんかじかざわちょうとや

This class translates the address written in Kanji into Kana by using Yahoo! Japan Maps.
a constructor. You can set a LWP::UserAgent object if you want.
search kana by Yahoo!Japan Maps. The arguments and return values must be encoded to euc-jp. You can't use unicode string.
Prefecture in Japan, should be ended with '都' or '道' or '府' or '県'.
Name of city and district, should be ended with '市' or '区' or '町' or '村'.
The rest of the string of address. It might contain '町' and '字'.
You can use a vague address to some degree. For example:
print $yahoo->search('茨城県', '龍ヶ崎市', '米町'), "\n";
print $yahoo->search('茨城県', '龍崎市', '米町'), "\n";
print $yahoo->search('茨城県', '竜が崎市', '米町'), "\n";
These sentences output the same result. This is a function of Yahoo!Japan Maps.

WWW::YahooJapan::KanaAddress requires no configuration files or environment variables.

LWP::UserAgent, and Yahoo!Japan :-p

None reported.

No bugs have been reported.
Please report any bugs or feature requests to hiratara@cpan.org, or through the web interface at http://rt.cpan.org.

Masahiro Honma <hiratara@cpan.org>