| File: | blib/lib/Geo/Coder/Free/DB/MaxMind/admin1.pm |
| Coverage: | 100.0% |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Geo::Coder::Free::DB::MaxMind::admin1; | ||||||
| 2 | |||||||
| 3 | 9 9 9 | 52162 6 78 | use strict; | ||||
| 4 | 9 9 9 | 12 17 197 | use warnings; | ||||
| 5 | |||||||
| 6 - 14 | =head1 NAME Geo::Coder::Free::DB::MaxMind::admin1 - driver for http://download.geonames.org/export/dump/admin1CodesASCII.txt =head1 VERSION Version 0.41 =cut | ||||||
| 15 | |||||||
| 16 | our $VERSION = '0.41'; | ||||||
| 17 | |||||||
| 18 | # It contains admin areas such as counties, states and provinces | ||||||
| 19 | # Note that GB has England, Scotland and Wales at this level, not the counties | ||||||
| 20 | # A typical line is: | ||||||
| 21 | # US.MD Maryland Maryland 4361885 | ||||||
| 22 | # So a look up of 'Maryland' will get the code 'US.MD' | ||||||
| 23 | |||||||
| 24 | 9 9 9 | 729 16 35 | use Geo::Coder::Free::DB::MaxMind::admin; | ||||
| 25 | |||||||
| 26 | our @ISA = ('Geo::Coder::Free::DB::MaxMind::admin'); | ||||||
| 27 | |||||||
| 28 | 1; | ||||||