| 1 | package Faker::Plugin::EnUs::PersonLastName; | ||
| 2 | |||
| 3 | 18 | ▶ | use 5.018; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 18 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 18 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 18 | ▶ | use Venus::Class 'base'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 18 | base 'Faker::Plugin::EnUs'; | |
| 11 | |||
| 12 | # VERSION | ||
| 13 | |||
| 14 | 18 | our $VERSION = '1.19'; | |
| 15 | |||
| 16 | # METHODS | ||
| 17 | |||
| 18 | 116 | ▶ | sub execute { |
|
Subroutine
execute: called CC=1 SCAR=0.0
Pod
documented
| |||
| 19 | 116 | my ($self, $data) = @_; | |
| 20 | |||
| 21 | 116 | return $self->faker->random->select(data_for_last_name()); | |
| 22 | } | ||
| 23 | |||
| 24 | 116 | ▶ | sub data_for_last_name { |
|
Subroutine
data_for_last_name: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 25 | 116 | state $last_name = [ | |
| 26 | 'Abbott', | ||
| 27 | 'Abernathy', | ||
| 28 | 'Abshire', | ||
| 29 | 'Adams', | ||
| 30 | 'Altenwerth', | ||
| 31 | 'Anderson', | ||
| 32 | 'Ankunding', | ||
| 33 | 'Armstrong', | ||
| 34 | 'Auer', | ||
| 35 | 'Aufderhar', | ||
| 36 | 'Bahringer', | ||
| 37 | 'Bailey', | ||
| 38 | 'Balistreri', | ||
| 39 | 'Barrows', | ||
| 40 | 'Bartell', | ||
| 41 | 'Bartoletti', | ||
| 42 | 'Barton', | ||
| 43 | 'Bashirian', | ||
| 44 | 'Batz', | ||
| 45 | 'Bauch', | ||
| 46 | 'Baumbach', | ||
| 47 | 'Bayer', | ||
| 48 | 'Beahan', | ||
| 49 | 'Beatty', | ||
| 50 | 'Bechtelar', | ||
| 51 | 'Becker', | ||
| 52 | 'Bednar', | ||
| 53 | 'Beer', | ||
| 54 | 'Beier', | ||
| 55 | 'Berge', | ||
| 56 | 'Bergnaum', | ||
| 57 | 'Bergstrom', | ||
| 58 | 'Bernhard', | ||
| 59 | 'Bernier', | ||
| 60 | 'Bins', | ||
| 61 | 'Blanda', | ||
| 62 | 'Blick', | ||
| 63 | 'Block', | ||
| 64 | 'Bode', | ||
| 65 | 'Boehm', | ||
| 66 | 'Bogan', | ||
| 67 | 'Bogisich', | ||
| 68 | 'Borer', | ||
| 69 | 'Bosco', | ||
| 70 | 'Botsford', | ||
| 71 | 'Boyer', | ||
| 72 | 'Boyle', | ||
| 73 | 'Bradtke', | ||
| 74 | 'Brakus', | ||
| 75 | 'Braun', | ||
| 76 | 'Breitenberg', | ||
| 77 | 'Brekke', | ||
| 78 | 'Brown', | ||
| 79 | 'Bruen', | ||
| 80 | 'Buckridge', | ||
| 81 | 'Carroll', | ||
| 82 | 'Carter', | ||
| 83 | 'Cartwright', | ||
| 84 | 'Casper', | ||
| 85 | 'Cassin', | ||
| 86 | 'Champlin', | ||
| 87 | 'Christiansen', | ||
| 88 | 'Cole', | ||
| 89 | 'Collier', | ||
| 90 | 'Collins', | ||
| 91 | 'Conn', | ||
| 92 | 'Connelly', | ||
| 93 | 'Conroy', | ||
| 94 | 'Considine', | ||
| 95 | 'Corkery', | ||
| 96 | 'Cormier', | ||
| 97 | 'Corwin', | ||
| 98 | 'Cremin', | ||
| 99 | 'Crist', | ||
| 100 | 'Crona', | ||
| 101 | 'Cronin', | ||
| 102 | 'Crooks', | ||
| 103 | 'Cruickshank', | ||
| 104 | 'Cummerata', | ||
| 105 | 'Cummings', | ||
| 106 | 'Dach', | ||
| 107 | "D'Amore", | ||
| 108 | 'Daniel', | ||
| 109 | 'Dare', | ||
| 110 | 'Daugherty', | ||
| 111 | 'Davis', | ||
| 112 | 'Deckow', | ||
| 113 | 'Denesik', | ||
| 114 | 'Dibbert', | ||
| 115 | 'Dickens', | ||
| 116 | 'Dicki', | ||
| 117 | 'Dickinson', | ||
| 118 | 'Dietrich', | ||
| 119 | 'Donnelly', | ||
| 120 | 'Dooley', | ||
| 121 | 'Douglas', | ||
| 122 | 'Doyle', | ||
| 123 | 'DuBuque', | ||
| 124 | 'Durgan', | ||
| 125 | 'Ebert', | ||
| 126 | 'Effertz', | ||
| 127 | 'Eichmann', | ||
| 128 | 'Emard', | ||
| 129 | 'Emmerich', | ||
| 130 | 'Erdman', | ||
| 131 | 'Ernser', | ||
| 132 | 'Fadel', | ||
| 133 | 'Fahey', | ||
| 134 | 'Farrell', | ||
| 135 | 'Fay', | ||
| 136 | 'Feeney', | ||
| 137 | 'Feest', | ||
| 138 | 'Feil', | ||
| 139 | 'Ferry', | ||
| 140 | 'Fisher', | ||
| 141 | 'Flatley', | ||
| 142 | 'Frami', | ||
| 143 | 'Franecki', | ||
| 144 | 'Friesen', | ||
| 145 | 'Fritsch', | ||
| 146 | 'Funk', | ||
| 147 | 'Gaylord', | ||
| 148 | 'Gerhold', | ||
| 149 | 'Gerlach', | ||
| 150 | 'Gibson', | ||
| 151 | 'Gislason', | ||
| 152 | 'Gleason', | ||
| 153 | 'Gleichner', | ||
| 154 | 'Glover', | ||
| 155 | 'Goldner', | ||
| 156 | 'Goodwin', | ||
| 157 | 'Gorczany', | ||
| 158 | 'Gottlieb', | ||
| 159 | 'Goyette', | ||
| 160 | 'Grady', | ||
| 161 | 'Graham', | ||
| 162 | 'Grant', | ||
| 163 | 'Green', | ||
| 164 | 'Greenfelder', | ||
| 165 | 'Greenholt', | ||
| 166 | 'Grimes', | ||
| 167 | 'Gulgowski', | ||
| 168 | 'Gusikowski', | ||
| 169 | 'Gutkowski', | ||
| 170 | 'Gutmann', | ||
| 171 | 'Haag', | ||
| 172 | 'Hackett', | ||
| 173 | 'Hagenes', | ||
| 174 | 'Hahn', | ||
| 175 | 'Haley', | ||
| 176 | 'Halvorson', | ||
| 177 | 'Hamill', | ||
| 178 | 'Hammes', | ||
| 179 | 'Hand', | ||
| 180 | 'Hane', | ||
| 181 | 'Hansen', | ||
| 182 | 'Harber', | ||
| 183 | 'Harris', | ||
| 184 | 'Hartmann', | ||
| 185 | 'Harvey', | ||
| 186 | 'Hauck', | ||
| 187 | 'Hayes', | ||
| 188 | 'Heaney', | ||
| 189 | 'Heathcote', | ||
| 190 | 'Hegmann', | ||
| 191 | 'Heidenreich', | ||
| 192 | 'Heller', | ||
| 193 | 'Herman', | ||
| 194 | 'Hermann', | ||
| 195 | 'Hermiston', | ||
| 196 | 'Herzog', | ||
| 197 | 'Hessel', | ||
| 198 | 'Hettinger', | ||
| 199 | 'Hickle', | ||
| 200 | 'Hilll', | ||
| 201 | 'Hills', | ||
| 202 | 'Hilpert', | ||
| 203 | 'Hintz', | ||
| 204 | 'Hirthe', | ||
| 205 | 'Hodkiewicz', | ||
| 206 | 'Hoeger', | ||
| 207 | 'Homenick', | ||
| 208 | 'Hoppe', | ||
| 209 | 'Howe', | ||
| 210 | 'Howell', | ||
| 211 | 'Hudson', | ||
| 212 | 'Huel', | ||
| 213 | 'Huels', | ||
| 214 | 'Hyatt', | ||
| 215 | 'Jacobi', | ||
| 216 | 'Jacobs', | ||
| 217 | 'Jacobson', | ||
| 218 | 'Jakubowski', | ||
| 219 | 'Jaskolski', | ||
| 220 | 'Jast', | ||
| 221 | 'Jenkins', | ||
| 222 | 'Jerde', | ||
| 223 | 'Jewess', | ||
| 224 | 'Johns', | ||
| 225 | 'Johnson', | ||
| 226 | 'Johnston', | ||
| 227 | 'Jones', | ||
| 228 | 'Kassulke', | ||
| 229 | 'Kautzer', | ||
| 230 | 'Keebler', | ||
| 231 | 'Keeling', | ||
| 232 | 'Kemmer', | ||
| 233 | 'Kerluke', | ||
| 234 | 'Kertzmann', | ||
| 235 | 'Kessler', | ||
| 236 | 'Kiehn', | ||
| 237 | 'Kihn', | ||
| 238 | 'Kilback', | ||
| 239 | 'King', | ||
| 240 | 'Kirlin', | ||
| 241 | 'Klein', | ||
| 242 | 'Kling', | ||
| 243 | 'Klocko', | ||
| 244 | 'Koch', | ||
| 245 | 'Koelpin', | ||
| 246 | 'Koepp', | ||
| 247 | 'Kohler', | ||
| 248 | 'Konopelski', | ||
| 249 | 'Koss', | ||
| 250 | 'Kovacek', | ||
| 251 | 'Kozey', | ||
| 252 | 'Krajcik', | ||
| 253 | 'Kreiger', | ||
| 254 | 'Kris', | ||
| 255 | 'Kshlerin', | ||
| 256 | 'Kub', | ||
| 257 | 'Kuhic', | ||
| 258 | 'Kuhlman', | ||
| 259 | 'Kuhn', | ||
| 260 | 'Kulas', | ||
| 261 | 'Kunde', | ||
| 262 | 'Kunze', | ||
| 263 | 'Kuphal', | ||
| 264 | 'Kutch', | ||
| 265 | 'Kuvalis', | ||
| 266 | 'Labadie', | ||
| 267 | 'Lakin', | ||
| 268 | 'Lang', | ||
| 269 | 'Langosh', | ||
| 270 | 'Langworth', | ||
| 271 | 'Larkin', | ||
| 272 | 'Larson', | ||
| 273 | 'Leannon', | ||
| 274 | 'Lebsack', | ||
| 275 | 'Ledner', | ||
| 276 | 'Leffler', | ||
| 277 | 'Legros', | ||
| 278 | 'Lehner', | ||
| 279 | 'Lemke', | ||
| 280 | 'Lesch', | ||
| 281 | 'Leuschke', | ||
| 282 | 'Lind', | ||
| 283 | 'Lindgren', | ||
| 284 | 'Littel', | ||
| 285 | 'Little', | ||
| 286 | 'Lockman', | ||
| 287 | 'Lowe', | ||
| 288 | 'Lubowitz', | ||
| 289 | 'Lueilwitz', | ||
| 290 | 'Luettgen', | ||
| 291 | 'Lynch', | ||
| 292 | 'Macejkovic', | ||
| 293 | 'Maggio', | ||
| 294 | 'Mann', | ||
| 295 | 'Mante', | ||
| 296 | 'Marks', | ||
| 297 | 'Marquardt', | ||
| 298 | 'Marvin', | ||
| 299 | 'Mayer', | ||
| 300 | 'Mayert', | ||
| 301 | 'McClure', | ||
| 302 | 'McCullough', | ||
| 303 | 'McDermott', | ||
| 304 | 'McGlynn', | ||
| 305 | 'McKenzie', | ||
| 306 | 'McLaughlin', | ||
| 307 | 'Medhurst', | ||
| 308 | 'Mertz', | ||
| 309 | 'Metz', | ||
| 310 | 'Miller', | ||
| 311 | 'Mills', | ||
| 312 | 'Mitchell', | ||
| 313 | 'Moen', | ||
| 314 | 'Mohr', | ||
| 315 | 'Monahan', | ||
| 316 | 'Moore', | ||
| 317 | 'Morar', | ||
| 318 | 'Morissette', | ||
| 319 | 'Mosciski', | ||
| 320 | 'Mraz', | ||
| 321 | 'Mueller', | ||
| 322 | 'Muller', | ||
| 323 | 'Murazik', | ||
| 324 | 'Murphy', | ||
| 325 | 'Murray', | ||
| 326 | 'Nader', | ||
| 327 | 'Nicolas', | ||
| 328 | 'Nienow', | ||
| 329 | 'Nikolaus', | ||
| 330 | 'Nitzsche', | ||
| 331 | 'Nolan', | ||
| 332 | 'Oberbrunner', | ||
| 333 | "O'Connell", | ||
| 334 | "O'Conner", | ||
| 335 | "O'Hara", | ||
| 336 | "O'Keefe", | ||
| 337 | "O'Kon", | ||
| 338 | 'Okuneva', | ||
| 339 | 'Olson', | ||
| 340 | 'Ondricka', | ||
| 341 | "O'Reilly", | ||
| 342 | 'Orn', | ||
| 343 | 'Ortiz', | ||
| 344 | 'Osinski', | ||
| 345 | 'Pacocha', | ||
| 346 | 'Padberg', | ||
| 347 | 'Pagac', | ||
| 348 | 'Parisian', | ||
| 349 | 'Parker', | ||
| 350 | 'Paucek', | ||
| 351 | 'Pfannerstill', | ||
| 352 | 'Pfeffer', | ||
| 353 | 'Pollich', | ||
| 354 | 'Pouros', | ||
| 355 | 'Powlowski', | ||
| 356 | 'Predovic', | ||
| 357 | 'Price', | ||
| 358 | 'Prohaska', | ||
| 359 | 'Prosacco', | ||
| 360 | 'Purdy', | ||
| 361 | 'Quigley', | ||
| 362 | 'Quitzon', | ||
| 363 | 'Rath', | ||
| 364 | 'Ratke', | ||
| 365 | 'Rau', | ||
| 366 | 'Raynor', | ||
| 367 | 'Reichel', | ||
| 368 | 'Reichert', | ||
| 369 | 'Reilly', | ||
| 370 | 'Reinger', | ||
| 371 | 'Rempel', | ||
| 372 | 'Renner', | ||
| 373 | 'Reynolds', | ||
| 374 | 'Rice', | ||
| 375 | 'Rippin', | ||
| 376 | 'Ritchie', | ||
| 377 | 'Robel', | ||
| 378 | 'Roberts', | ||
| 379 | 'Rodriguez', | ||
| 380 | 'Rogahn', | ||
| 381 | 'Rohan', | ||
| 382 | 'Rolfson', | ||
| 383 | 'Romaguera', | ||
| 384 | 'Roob', | ||
| 385 | 'Rosenbaum', | ||
| 386 | 'Rowe', | ||
| 387 | 'Ruecker', | ||
| 388 | 'Runolfsdottir', | ||
| 389 | 'Runolfsson', | ||
| 390 | 'Runte', | ||
| 391 | 'Russel', | ||
| 392 | 'Rutherford', | ||
| 393 | 'Ryan', | ||
| 394 | 'Sanford', | ||
| 395 | 'Satterfield', | ||
| 396 | 'Sauer', | ||
| 397 | 'Sawayn', | ||
| 398 | 'Schaden', | ||
| 399 | 'Schaefer', | ||
| 400 | 'Schamberger', | ||
| 401 | 'Schiller', | ||
| 402 | 'Schimmel', | ||
| 403 | 'Schinner', | ||
| 404 | 'Schmeler', | ||
| 405 | 'Schmidt', | ||
| 406 | 'Schmitt', | ||
| 407 | 'Schneider', | ||
| 408 | 'Schoen', | ||
| 409 | 'Schowalter', | ||
| 410 | 'Schroeder', | ||
| 411 | 'Schulist', | ||
| 412 | 'Schultz', | ||
| 413 | 'Schumm', | ||
| 414 | 'Schuppe', | ||
| 415 | 'Schuster', | ||
| 416 | 'Senger', | ||
| 417 | 'Shanahan', | ||
| 418 | 'Shields', | ||
| 419 | 'Simonis', | ||
| 420 | 'Sipes', | ||
| 421 | 'Skiles', | ||
| 422 | 'Smith', | ||
| 423 | 'Smitham', | ||
| 424 | 'Spencer', | ||
| 425 | 'Spinka', | ||
| 426 | 'Sporer', | ||
| 427 | 'Stamm', | ||
| 428 | 'Stanton', | ||
| 429 | 'Stark', | ||
| 430 | 'Stehr', | ||
| 431 | 'Steuber', | ||
| 432 | 'Stiedemann', | ||
| 433 | 'Stokes', | ||
| 434 | 'Stoltenberg', | ||
| 435 | 'Stracke', | ||
| 436 | 'Streich', | ||
| 437 | 'Stroman', | ||
| 438 | 'Strosin', | ||
| 439 | 'Swaniawski', | ||
| 440 | 'Swift', | ||
| 441 | 'Terry', | ||
| 442 | 'Thiel', | ||
| 443 | 'Thompson', | ||
| 444 | 'Tillman', | ||
| 445 | 'Torp', | ||
| 446 | 'Torphy', | ||
| 447 | 'Towne', | ||
| 448 | 'Toy', | ||
| 449 | 'Trantow', | ||
| 450 | 'Tremblay', | ||
| 451 | 'Treutel', | ||
| 452 | 'Tromp', | ||
| 453 | 'Turcotte', | ||
| 454 | 'Turner', | ||
| 455 | 'Ullrich', | ||
| 456 | 'Upton', | ||
| 457 | 'Vandervort', | ||
| 458 | 'Veum', | ||
| 459 | 'Volkman', | ||
| 460 | 'Von', | ||
| 461 | 'VonRueden', | ||
| 462 | 'Waelchi', | ||
| 463 | 'Walker', | ||
| 464 | 'Walsh', | ||
| 465 | 'Walter', | ||
| 466 | 'Ward', | ||
| 467 | 'Waters', | ||
| 468 | 'Watsica', | ||
| 469 | 'Weber', | ||
| 470 | 'Wehner', | ||
| 471 | 'Weimann', | ||
| 472 | 'Weissnat', | ||
| 473 | 'Welch', | ||
| 474 | 'West', | ||
| 475 | 'White', | ||
| 476 | 'Wiegand', | ||
| 477 | 'Wilderman', | ||
| 478 | 'Wilkinson', | ||
| 479 | 'Will', | ||
| 480 | 'Williamson', | ||
| 481 | 'Willms', | ||
| 482 | 'Windler', | ||
| 483 | 'Wintheiser', | ||
| 484 | 'Wisoky', | ||
| 485 | 'Wisozk', | ||
| 486 | 'Witting', | ||
| 487 | 'Wiza', | ||
| 488 | 'Wolf', | ||
| 489 | 'Wolff', | ||
| 490 | 'Wuckert', | ||
| 491 | 'Wunsch', | ||
| 492 | 'Wyman', | ||
| 493 | 'Yost', | ||
| 494 | 'Yundt', | ||
| 495 | 'Zboncak', | ||
| 496 | 'Zemlak', | ||
| 497 | 'Ziemann', | ||
| 498 | 'Zieme', | ||
| 499 | 'Zulauf', | ||
| 500 | ] | ||
| 501 | } | ||
| 502 | |||
| 503 | 18 | 1; | |
| 504 | |||
| 505 | |||
| 506 | |||
| 507 | =head1 NAME | ||
| 508 | |||
| 509 | Faker::Plugin::EnUs::PersonLastName - Person Last Name | ||
| 510 | |||
| 511 | =cut | ||
| 512 | |||
| 513 | =head1 ABSTRACT | ||
| 514 | |||
| 515 | Person Last Name for Faker | ||
| 516 | |||
| 517 | =cut | ||
| 518 | |||
| 519 | =head1 VERSION | ||
| 520 | |||
| 521 | 1.19 | ||
| 522 | |||
| 523 | =cut | ||
| 524 | |||
| 525 | =head1 SYNOPSIS | ||
| 526 | |||
| 527 | package main; | ||
| 528 | |||
| 529 | use Faker::Plugin::EnUs::PersonLastName; | ||
| 530 | |||
| 531 | my $plugin = Faker::Plugin::EnUs::PersonLastName->new; | ||
| 532 | |||
| 533 | # bless(..., "Faker::Plugin::EnUs::PersonLastName") | ||
| 534 | |||
| 535 | =cut | ||
| 536 | |||
| 537 | =head1 DESCRIPTION | ||
| 538 | |||
| 539 | This package provides methods for generating fake data for person last name. | ||
| 540 | |||
| 541 | =encoding utf8 | ||
| 542 | |||
| 543 | =cut | ||
| 544 | |||
| 545 | =head1 INHERITS | ||
| 546 | |||
| 547 | This package inherits behaviors from: | ||
| 548 | |||
| 549 | L<Faker::Plugin::EnUs> | ||
| 550 | |||
| 551 | =cut | ||
| 552 | |||
| 553 | =head1 METHODS | ||
| 554 | |||
| 555 | This package provides the following methods: | ||
| 556 | |||
| 557 | =cut | ||
| 558 | |||
| 559 | =head2 execute | ||
| 560 | |||
| 561 | execute(HashRef $data) (Str) | ||
| 562 | |||
| 563 | The execute method returns a returns a random fake person last name. | ||
| 564 | |||
| 565 | I<Since C<1.10>> | ||
| 566 | |||
| 567 | =over 4 | ||
| 568 | |||
| 569 | =item execute example 1 | ||
| 570 | |||
| 571 | package main; | ||
| 572 | |||
| 573 | use Faker::Plugin::EnUs::PersonLastName; | ||
| 574 | |||
| 575 | my $plugin = Faker::Plugin::EnUs::PersonLastName->new; | ||
| 576 | |||
| 577 | # bless(..., "Faker::Plugin::EnUs::PersonLastName") | ||
| 578 | |||
| 579 | # my $result = $plugin->execute; | ||
| 580 | |||
| 581 | # "Heaney"; | ||
| 582 | |||
| 583 | # my $result = $plugin->execute; | ||
| 584 | |||
| 585 | # "Johnston"; | ||
| 586 | |||
| 587 | # my $result = $plugin->execute; | ||
| 588 | |||
| 589 | # "Steuber"; | ||
| 590 | |||
| 591 | =back | ||
| 592 | |||
| 593 | =cut | ||
| 594 | |||
| 595 | =head2 new | ||
| 596 | |||
| 597 | new(HashRef $data) (Plugin) | ||
| 598 | |||
| 599 | The new method returns a new instance of the class. | ||
| 600 | |||
| 601 | I<Since C<1.10>> | ||
| 602 | |||
| 603 | =over 4 | ||
| 604 | |||
| 605 | =item new example 1 | ||
| 606 | |||
| 607 | package main; | ||
| 608 | |||
| 609 | use Faker::Plugin::EnUs::PersonLastName; | ||
| 610 | |||
| 611 | my $plugin = Faker::Plugin::EnUs::PersonLastName->new; | ||
| 612 | |||
| 613 | # bless(..., "Faker::Plugin::EnUs::PersonLastName") | ||
| 614 | |||
| 615 | =back | ||
| 616 | |||
| 617 | =cut | ||
| 618 | |||
| 619 | =head1 AUTHORS | ||
| 620 | |||
| 621 | Awncorp, C<awncorp@cpan.org> | ||
| 622 | |||
| 623 | =cut | ||
| 624 | |||
| 625 | =head1 LICENSE | ||
| 626 | |||
| 627 | Copyright (C) 2000, Al Newkirk. | ||
| 628 | |||
| 629 | This program is free software, you can redistribute it and/or modify it under | ||
| 630 | the terms of the Apache license version 2.0. | ||
| 631 | |||
| 632 | =cut | ||