The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Parse::JapanesePostalCode::Row - Object of Japanese PostalCode

METHODS

new

instance method.

region_id

全国地方公共団体コード(JIS X0401、X0402) を返します。

old_zip

(旧)郵便番号(5桁) を返します。

zip

郵便番号(7桁) を返します。

pref

都道府県名 を返します。

region

市区町村名 を返します。町村の場合には郡を含み、政令指定都市の場合には区を含みます。

district

region から、郡名を抜き出した物を返します。なければ undef が返ります。

city

region から、市名を抜き出した物を返します。なければ undef が返ります。

ward

region から、区名を抜き出した物を返します。なければ undef が返ります。

town

町域名 を返します。小字、丁目、番地,号、ビル名等は含まれません。基本的に大字と同等の町域名が入ります。 実質町域を指定していない物では undef が返ります。

build

ビル名が入ります。なければ undef が返ります。

floor

ビルの階が入ります。地階、不明階やビルでない場合には undef が返ります。

has_subtown

小字、丁目、番地,号がある場合には真が返ります。

subtown

小字、丁目、番地,号等が ARRAY ref で返ります。

pref

都道府県名 を返します。

region_kana

カタカナが返ります。

district_kana

カタカナが返ります。

city_kana

カタカナが返ります。

ward_kana

カタカナが返ります。

town_kana

カタカナが返ります。

build_kana

カタカナが返ります。

subtown_kana

カタカナが返ります。

is_multi_zip

一町域が二以上の郵便番号で表される場合の表示 が返ります。

has_koaza_banchi

小字毎に番地が起番されている町域の表示 が返ります。

has_chome

丁目を有する町域の場合の表示 が返ります。

is_multi_town

一つの郵便番号で二以上の町域を表す場合の表示 が返ります。

update_status

更新の表示 が返ります。

update_reason

変更理由 が返ります。

AUTHOR

Kazuhiro Osawa <yappo {at} shibuya {dot} pl>

SEE ALSO

Parse::JapanesePostalCode, http://www.post.japanpost.jp/zipcode/download.html

LICENSE

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