Wes Sheldahl > Data-Faker-0.09 > Data::Faker::StreetAddress

Download:
Data-Faker-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Source   Latest Release: Data-Faker-0.10

NAME ^

Data::Faker::StreetAddress - Data::Faker plugin

SYNOPSIS AND USAGE ^

See Data::Faker

DATA PROVIDERS ^

us_zip_code

Return a random zip or zip+4 zip code in the US zip code format. Note that this is not necessarily a valid zip code, just a 5 or 9 digit number in the correct format.

us_state

Return a random US state name.

us_state_abbr

Return a random US state abbreviation. (Includes US Territories and AE, AA, AP military designations.)

From the USPS list at http://www.usps.com/ncsc/lookups/usps_abbreviations.html

street_suffix

Return a random street suffix (Drive, Street, Road, etc.)

From the USPS list at http://www.usps.com/ncsc/lookups/usps_abbreviations.html

street_name

Return a fake street name.

street_address

Return a fake street address.

secondary_unit_designator

Return a random secondary unit designator, with a range if needed (secondary unit designators are things like apartment number, building number, suite, penthouse, etc that differentiate different units with a common address.)

secondary_unit_number

Return a random secondary unit number, for the secondary unit designators that take ranges.

city

Return a random city, taken from a list of larger cities in several U.S. states.

SEE ALSO ^

Data::Faker

AUTHOR ^

Jason Kohles, <email@jasonkohles.com>

COPYRIGHT AND LICENSE ^

Copyright 2004-2005 by Jason Kohles

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

syntax highlighting: