/usr/share/perl5/Data/Faker/StreetAddress.pm is in libdata-faker-perl 0.10-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 | package Data::Faker::StreetAddress;
use strict;
use warnings;
use vars qw($VERSION); $VERSION = '0.10';
use base 'Data::Faker';
use Data::Faker::Name;
=head1 NAME
Data::Faker::StreetAddress - Data::Faker plugin
=head1 SYNOPSIS AND USAGE
See L<Data::Faker>
=head1 DATA PROVIDERS
=over 4
=item 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.
=cut
__PACKAGE__->register_plugin(
us_zip_code => ['#####','#####-####'],
);
=item us_state
Return a random US state name.
=cut
__PACKAGE__->register_plugin(
us_state => [
qw{
Alabama Alaska Arizona Arkansas California Colorado Connecticut
Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas
Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota
Mississippi Missouri Montana Nebraska Nevada Ohio Oklahoma Oregon
Pennsylvania Tennessee Texas Utah Vermont Virginia Wisconsin
Wyoming Washington
},
'New Hampshire', 'New Jersey', 'New Mexico', 'New York',
'North Carolina', 'North Dakota', 'Rhode Island', 'South Carolina',
'South Dakota', 'West Virginia',
],
);
=item 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
)],
);
=item 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
=cut
__PACKAGE__->register_plugin(
street_suffix => [qw(
Alley Avenue Branch Bridge Brook Brooks Burg Burgs Bypass Camp Canyon
Cape Causeway Center Centers Circle Circles Cliff Cliffs Club Common
Corner Corners Course Court Courts Cove Coves Creek Crescent Crest
Crossing Crossroad Curve Dale Dam Divide Drive Drive Drives Estate
Estates Expressway Extension Extensions Fall Falls Ferry Field Fields
Flat Flats Ford Fords Forest Forge Forges Fork Forks Fort Freeway
Garden Gardens Gateway Glen Glens Green Greens Grove Groves Harbor
Harbors Haven Heights Highway Hill Hills Hollow Inlet Inlet Island
Island Islands Islands Isle Isle Junction Junctions Key Keys Knoll
Knolls Lake Lakes Land Landing Lane Light Lights Loaf Lock Locks Locks
Lodge Lodge Loop Mall Manor Manors Meadow Meadows Mews Mill Mills
Mission Mission Motorway Mount Mountain Mountain Mountains Mountains
Neck Orchard Oval Overpass Park Parks Parkway Parkways Pass Passage
Path Pike Pine Pines Place Plain Plains Plains Plaza Plaza Point Points
Port Port Ports Ports Prairie Prairie Radial Ramp Ranch Rapid Rapids
Rest Ridge Ridges River Road Road Roads Roads Route Row Rue Run Shoal
Shoals Shore Shores Skyway Spring Springs Springs Spur Spurs Square
Square Squares Squares Station Station Stravenue Stravenue Stream
Stream Street Street Streets Summit Summit Terrace Throughway Trace
Track Trafficway Trail Trail Tunnel Tunnel Turnpike Turnpike Underpass
Union Unions Valley Valleys Via Viaduct View Views Village Village
Villages Ville Vista Vista Walk Walks Wall Way Ways Well Wells
)],
);
=item street_name
Return a fake street name.
=cut
__PACKAGE__->register_plugin(
street_name => [
'$last_name $street_suffix',
'$first_name $street_suffix',
],
);
=item street_address
Return a fake street address.
=cut
__PACKAGE__->register_plugin(
street_address => [
'##### $street_name',
'##### $street_name',
'##### $street_name',
'##### $street_name',
'##### $street_name Apt. ###',
'##### $street_name Suite ###',
'##### $street_name \####',
'##### $secondary_unit_designator',
],
);
=item 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.)
=cut
__PACKAGE__->register_plugin(
secondary_unit_designator => [
'Apartment $secondary_unit_number',
'Building $secondary_unit_number',
'Department $secondary_unit_number',
'Floor #', 'Floor ##', 'Floor ###',
'Floor \##', 'Floor \###', 'Floor \####',
'Hangar $secondary_unit_number',
'Lot $secondary_unit_number',
'Pier $secondary_unit_number',
'Room $secondary_unit_number',
'Slip $secondary_unit_number',
'Space $secondary_unit_number',
'Stop $secondary_unit_number',
'Suite $secondary_unit_number',
'Trailer $secondary_unit_number',
'Unit $secondary_unit_number',
'Basement','Front','Lobby','Lower','Office',
'Penthouse','Rear','Side','Upper',
],
);
=item secondary_unit_number
Return a random secondary unit number, for the secondary unit designators that
take ranges.
=cut
__PACKAGE__->register_plugin(
secondary_unit_number => [
('A' .. 'Z'), '###','\####','##','\###','#','\##',
'#-A','\##-A','#-B','\##-B','#-C','\##-C','#-D','\##-D','#-E','\##-E',
'#-F','\##-F','#-G','\##-G','#-H','\##-H','#-I','\##-I','#-J','\##-J',
],
);
=item city
Return a random city, taken from a list of larger cities in several U.S. states.
=cut
__PACKAGE__->register_plugin(
city => [
'Agoura Hills',
'Akron',
'Alameda',
'Alhambra',
'Aliso Viejo',
'Anaheim',
'Anchorage',
'Apple Valley',
'Arcadia',
'Artesia',
'Ashland',
'Athens',
'Atwater',
'Auburn',
'Avalon',
'Azusa',
'Bakersfield',
'Baldwin Park',
'Barrow',
'Bell Gardens',
'Bell',
'Bellflower',
'Bentonville',
'Berkeley',
'Bessemer',
'Beverly Hills',
'Birmingham',
'Bloomington',
'Blythe',
'Bowling Green',
'Bradbury',
'Brea',
'Buena Park',
'Burbank',
'Burlingame',
'Calabasas',
'Canton',
'Carson',
'Cerritos',
'Chandler',
'Chico',
'Chino Hills',
'Chino',
'Chula Vista',
'Cincinnati',
'Citrus Heights',
'City of Industry',
'Claremont',
'Cleveland',
'Columbus',
'Commerce',
'Compton',
'Concord',
'Corona',
'Costa Mesa',
'Covina',
'Covington',
'Crown Point',
'Cudahy',
'Culver City',
'Cypress',
'Daly City',
'Dana Point',
'Danville',
'Dayton',
'Decatur',
'Delta Junction',
'Demopolis',
'Diamond Bar',
'Dothan',
'Downey',
'Duarte',
'El Cerrito',
'El Monte',
'El Segundo',
'Elkhart',
'Escondido',
'Eufaula',
'Eureka',
'Evansville',
'Fairbanks',
'Fairfield',
'Fayetteville',
'Flagstaff',
'Florence',
'Florence',
'Fontana',
'Forrest City',
'Fort Smith',
'Fort Wayne',
'Fountain Valley',
'Frankfort',
'Fremont',
'Fresno',
'Fullerton',
'Gadsden',
'Garden Grove',
'Gardena',
'Gary',
'Gilbert',
'Glendale',
'Glendale',
'Glendora',
'Gulf Shores',
'Half Moon Bay',
'Hamilton',
'Hammond',
'Hawaiian Gardens',
'Hawthorne',
'Hayward',
'Hermosa Beach',
'Hidden Hills',
'Hollister',
'Hollywood',
'Homer',
'Hoover',
'Hope',
'Hopkinsville',
'Hot Springs',
'Huntington Beach',
'Huntington Park',
'Huntsville',
'Indianapolis',
'Indio',
'Inglewood',
'Irvine',
'Irwindale',
'Jasper',
'Jeffersontown',
'Jonesboro',
'Juneau',
'Kent',
'Ketchikan',
'Kettering',
'Kokomo',
'La CaƱada Flintridge',
'La Habra Heights',
'La Habra',
'La Jolla',
'La Mirada',
'La Palma',
'La Puente',
'La Verne',
'Lafayette',
'Laguna Beach',
'Laguna Hills',
'Laguna Niguel',
'Laguna Woods',
'Lake Forest',
'Lakewood',
'Lakewood',
'Lancaster',
'Lawndale',
'Lexington',
'Lima',
'Little Rock',
'Lodi',
'Lomita',
'Long Beach',
'Los Alamitos',
'Los Angeles',
'Louisville',
'Lynwood',
'Malibu',
'Manhattan Beach',
'Marana',
'Maywood',
'Mentor',
'Mentor-on-the-Lake',
'Merced',
'Mesa',
'Michigan City',
'Middletown',
'Mission Viejo',
'Mobile',
'Modesto',
'Monrovia',
'Montebello',
'Monterey Park',
'Monterey',
'Montgomery',
'Moraga',
'Moreno Valley',
'Muncie',
'Murray',
'Murrieta',
'Nenana',
'Newport Beach',
'Nogales',
'Nome',
'North Little Rock',
'North Pole',
'Norwalk',
'Oakland',
'Ontario',
'Orange',
'Oro Valley',
'Owensboro',
'Oxford',
'Oxnard',
'Paducah',
'Palm Springs',
'Palmdale',
'Palo Alto',
'Palos Verdes Estates',
'Paramount',
'Parma',
'Pasadena',
'Peoria',
'Phenix City',
'Phoenix',
'Pico Rivera',
'Pine Bluff',
'Placentia',
'Pomona',
'Prescott',
'Rancho Cordova',
'Rancho Cucamonga',
'Rancho Palos Verdes',
'Rancho Santa Margarita',
'Redding',
'Redlands',
'Redondo Beach',
'Rialto',
'Richmond',
'Riverside',
'Rohnert Park',
'Rolling Hills Estates',
'Rolling Hills',
'Rosemead',
'Roseville',
'Sacramento',
'Sahuarita',
'Salinas',
'San Bernardino',
'San Clemente',
'San Diego',
'San Dimas',
'San Fernando',
'San Francisco',
'San Gabriel',
'San Jose',
'San Juan Capistrano',
'San Luis Obispo',
'San Marino',
'San Mateo',
'San Rafael',
'Santa Ana',
'Santa Barbara',
'Santa Clara',
'Santa Clarita',
'Santa Cruz',
'Santa Fe Springs',
'Santa Monica',
'Santa Rosa',
'Scottsdale',
'Seal Beach',
'Selma',
'Seward',
'Sierra Madre',
'Sierra Vista',
'Signal Hill',
'Simi Valley',
'Sitka',
'Sonoma',
'South Bend',
'South El Monte',
'South Gate',
'South Pasadena',
'Springdale',
'Springfield',
'Stanton',
'Steubenville',
'Stockton',
'Sunnyvale',
'Sutter Creek',
'Temecula',
'Tempe',
'Temple City',
'Terre Haute',
'Texarkana',
'Thousand Oaks',
'Tok',
'Toledo',
'Torrance',
'Troy',
'Tucson',
'Tuscaloosa',
'Tuskegee',
'Tustin',
'Two Rivers',
'Union City',
'Valdez',
'Valencia',
'Vallejo',
'Valparaiso',
'Ventura',
'Vernon',
'Villa Park',
'Vincennes',
'Visalia',
'Walnut',
'West Covina',
'West Hollywood',
'West Lafayette',
'West Memphis',
'Westlake Village',
'Westminster',
'Whittier',
'Wynne',
'Yorba Linda',
'Youngstown',
'Yuma',
'Zanesville',
],
);
=back
=head1 SEE ALSO
L<Data::Faker>
=head1 AUTHOR
Jason Kohles, E<lt>email@jasonkohles.comE<gt>
=head1 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.
=cut
1;
|