NAME

Geo::Address::Mail::UK - A Mailing Address in the United Kingdom

SYNOPSIS

Geo::Address::Mail::UK is a subclass of Geo::Address::Mail that provides specific validation and attributes for mailing addresses located in the United Kingdom.

use Geo::Address::Mail::UK;

my $add = Geo::Address::Mail::UK->new(
    name => 'Sherlock Holmes',
    street => '221b Baker St',
    city => 'London',
    postal_code => 'NW1 6XE'
);

ATTRIBUTES

Geo::Address::Mail::UK has all the attributes of Geo::Address::Mail. The following attributes are either modified or new.

postal_code

Postal codes are validated to conform to the Royal Mail standard.

building

Addresses can have a building name between the name and the street address.

locality

Addresses have an optional locality added between the street address and the city name.

AUTHOR

Andrew Nelson, <anelson at cpan.org>

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

This software is copyright (c) 2011 by Infinity Interactive, Inc..

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