Faker::Plugin::EnUs::TelephoneNumber

Telephone Number

Telephone Number for Faker

method: new method: execute

package main;

use Faker::Plugin::EnUs::TelephoneNumber;

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

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

This package provides methods for generating fake data for telephone number.

+=encoding utf8

Faker::Plugin::EnUs

The execute method returns a returns a random fake telephone number.

execute(HashRef $data) (Str)

{ since => '1.10', }

=example-1 execute

package main;

use Faker::Plugin::EnUs::TelephoneNumber;

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

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

# my $result = $plugin->execute;

# "01408446845";

# my $result = $plugin->execute;

# "769-454-4390";

# my $result = $plugin->execute;

# "1-822-037-0225x82882";

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::TelephoneNumber;

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

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

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