Data::...ddress(3pm)
π NAME π
Data::Faker::StreetAddress β it's the Data::Faker plugin, bestie π
β¨ SYNOPSIS AND USAGE β¨
ngl this part is short. Just go see Data::Faker, that's where all the deets live π«Ά
π DATA PROVIDERS π
okay so these are the little generator functions this plugin hands you. One at a time, no skipping β
us_zip_codeβ spits out a random US zip code, or a zip+4 joint, in the US zip code format π Heads up though, it's not necessarily a real zip code β it's literally just a 5 or 9 digit number that looks right. Vibes only, no postmaster certification πus_stateβ gives you a random US state name. Iconic. No notes πus_state_abbrβ random US state abbreviation, and yes it's inclusive: it's also got US Territories and the AE, AA, AP military designations in the mix π
Straight from the USPS list at http://www.usps.com/ncsc/lookups/usps_abbreviations.html β
street_suffixβ random street suffix, like Drive, Street, Road, etc. π£οΈ
Also from the USPS list at http://www.usps.com/ncsc/lookups/usps_abbreviations.html β
street_nameβ fake street name, made up, not real, don't go looking for it π¦street_addressβ a whole fake street address. Slay. πsecondary_unit_designatorβ random secondary unit designator, and it'll tack on a range if that one needs it. And if you're sitting there like "what is a secondary unit designator," bestie, it's stuff like apartment number, building number, suite, penthouse, etc β the things that tell apart different units sharing one common address. iykyk πsecondary_unit_numberβ random secondary unit number, specifically for the secondary unit designators that take ranges π’cityβ random city, pulled from a list of the bigger cities across 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. fr fr, same terms as Perl, periodt π
and that's the whole page bestie!! this was Data::...ddress(3pm) (yes the name is truncated like that, we don't make the rules), rendered as perl v5.36.0 on 2022-10-22 β go forth and fake some addresses β¨ππ
π¦ where this page comes from
- ubuntu noble: libdata-faker-perl 0.10-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdata-faker-perl 0.10-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-faker-perl 0.10-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms