Faker::Plugin::EnUs::PersonNamePrefix

Person Name Prefix

Person Name Prefix for Faker

method: new method: execute

package main;

use Faker::Plugin::EnUs::PersonNamePrefix;

my $plugin = Faker::Plugin::EnUs::PersonNamePrefix->new;

# bless(..., "Faker::Plugin::EnUs::PersonNamePrefix")

This package provides methods for generating fake data for person name prefix.

+=encoding utf8

Faker::Plugin::EnUs

The execute method returns a returns a random fake person name prefix.

execute(HashRef $data) (Str)

{ since => '1.10', }

=example-1 execute

package main;

use Faker::Plugin::EnUs::PersonNamePrefix;

my $plugin = Faker::Plugin::EnUs::PersonNamePrefix->new;

# bless(..., "Faker::Plugin::EnUs::PersonNamePrefix")

# my $result = $plugin->execute;

# "Mr.";

# my $result = $plugin->execute;

# "Mr.";

# my $result = $plugin->execute;

# "Sir";

The new method returns a new instance of the class.

new(HashRef $data) (Plugin)

{ since => '1.10', }

=example-1 new

package main;

use Faker::Plugin::EnUs::PersonNamePrefix;

my $plugin = Faker::Plugin::EnUs::PersonNamePrefix->new;

# bless(..., "Faker::Plugin::EnUs::PersonNamePrefix")

t/Faker.t: pdml: authors t/Faker.t: pdml: license

14 POD Errors

The following errors were encountered while parsing the POD:

Around line 14:

Unknown directive: =name

Around line 22:

Unknown directive: =tagline

Around line 30:

Unknown directive: =abstract

Around line 38:

Unknown directive: =includes

Around line 47:

Unknown directive: =synopsis

Around line 67:

Unknown directive: =description

Around line 77:

Unknown directive: =inherits

Around line 85:

Unknown directive: =method

Around line 89:

Unknown directive: =signature

Around line 93:

Unknown directive: =metadata

Around line 139:

Unknown directive: =method

Around line 143:

Unknown directive: =signature

Around line 147:

Unknown directive: =metadata

Around line 174:

Unknown directive: =partials