Dave Rolsky > Data-Random-Contact > Data::Random::Contact::Country::US

Download:
Data-Random-Contact-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.05   Source  

NAME ^

Data::Random::Contact::Country::US - US phone number and address data

VERSION ^

version 0.05

DESCRIPTION ^

This module provides US country phone and address data.

METHODS ^

This module provides the following methods:

$country->phone_number()

This returns a phone number like "212-555-1234". The area codes are all valid US area codes. The number prefix will be a random number from 200 to 999.

$country->address()

This returns a hash reference with the following keys:

Note that any address component can be undef.

AUTHOR ^

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2011 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: