Geo::Postcodes::JP::Update - update Japan Post Office postcode data
update_files ('ken_all.zip', 'jigyosyo.zip');
Get or update the two CSV files, KEN_ALL.CSV and JIGYOSYO.CSV from the Japan Post website.
The two arguments are the file name of the zipped KEN_ALL.CSV file and the zipped JIGYOSYO.CSV file. If these files exist, the routine tries to check whether the existing files are newer than the files on the post office website, and only downloads if the local files are older.
People who are thinking of running this regularly might like to know that Japan Post usually updates the postcode files on the last day of the month.
Ben Bullock, <email@example.com>
Geo::Postcodes::JP and associated files are copyright (c) 2012 Ben Bullock.
You may use, copy, modify and distribute Geo::Postcodes::JP under the same terms as the Perl programming language itself.