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 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