NAME

Geo::LookupPostcode::ES - Get province and region codes for a Spanish postcode

SUBROUTINES/METHODS

lookup_es_postcode

Takes one character string argument: a postcode.

If successful, it returns a reference to a hash, with this structure:

my $rh_province = lookup_es_postcode("03460");
{
    province_name => $province_name,
}

If it cannot find the province, it returns undef.

Note that the names may be anglicised.