NAME
Faker::Provider::Person - Faker Standard Person Provider
VERSION
version 0.10
SYNOPSIS
use Faker;
use Faker::Provider::Person;
my $faker = Faker->new;
my $person = Faker::Provider::Person->new(factory => $faker);
say $person->name;
DESCRIPTION
Faker::Provider::Person is a Faker provider which provides fake data for a person. Note: This is an early release available for testing and feedback and as such is subject to change.
METHODS
name
$person->name;
# John Doe
# Jane Doe
The name method generates a random ficticious name for a person.
first_name
$person->first_name;
# John
# Jane
The first_name method generates a random ficticious first name for a person.
last_name
$person->last_name;
# Doe
# Smith
The last_name method generates a random ficticious last name for a person.
username
$person->username;
# gDoe
# John.Doe
# Doe.John
The username method generates a random ficticious username.
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.