
get-code2country - fetch ICAO country code from wikipedia

using vi to update Geo::ICAO...
$ vi lib/Geo/ICAO.pm
/CODE2COUNTRY
0d}
:r!scripts/get-code2country

A comprehensive list of ICAO country codes s described on http://en.wikipedia.org/wiki/ICAO_airport_code. get-code2country is a small script that will fetch and parse this url, to extract this list of country codes. It will then dump them as Perl code, to be inserted directly in Geo::ICAO.

Jerome Quelin, <jquelin at cpan.org>

Copyright (c) 2007 Jerome Quelin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.