| Data-Faker documentation | view source | Contained in the Data-Faker distribution. |
Data::Faker::StreetAddress - Data::Faker plugin
See Data::Faker
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.
Return a random US state name.
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 =cut
__PACKAGE__->register_plugin( us_state_abbr => [qw( AL AK AS AZ AR CA CO CT DE DC FM FL GA GU HI ID IL IN IA KS KY LA ME MH MD MA MI MN MS MO MT NE NV NH NJ NM NY NC ND MP OH OK OR PW PA PR RI SC SD TN TX UT VT VI VA WA WV WI WY AE AA AP )], );
Return a random street suffix (Drive, Street, Road, etc.)
From the USPS list at http://www.usps.com/ncsc/lookups/usps_abbreviations.html
Return a fake street name.
Return a fake street address.
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.)
Return a random secondary unit number, for the secondary unit designators that take ranges.
Jason Kohles, <email@jasonkohles.com>
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.
| Data-Faker documentation | view source | Contained in the Data-Faker distribution. |