NAME

Faker::Provider::en_US::Person - Faker Localized en_US Person Provider

VERSION

version 0.12

SYNOPSIS

use Faker;
use Faker::Provider::en_US::Person;

my $faker = Faker->new(locale => 'en_US');
my $person = Faker::Provider::en_US::Person->new(factory => $faker);

say $person->name;

DESCRIPTION

Faker::Provider::en_US::Person is a Faker provider localized under en_US, which provides fake data for a person. Faker::Provider::en_US::Person inherits all attributes and methods from Faker::Provider::Person and implements the following new ones. Note: This is an early release available for testing and feedback and as such is subject to change.

METHODS

name_prefix

$address->name_prefix;

# Dr.
# Miss
# Dr.

The name_prefix method generates a random name prefix for a person, common in the en_US locale.

name_suffix

$address->name_suffix;

# IV
# PhD
# I

The name_suffix method generates a random name suffix for a person, common in the en_US locale.

AUTHOR

Al Newkirk <anewkirk@ana.io>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Al Newkirk.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.