|
Data::Faker::StreetAddress - Data::Faker plugin
|
Data::Faker::StreetAddress - Data::Faker plugin
See the Data::Faker manpage
- 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
=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
)],
);
- 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.
the Data::Faker manpage
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::StreetAddress - Data::Faker plugin
|