NAME
Faker::Provider::Telephone - Faker Standard Telephone Number Provider
VERSION
version 0.12
SYNOPSIS
use Faker;
use Faker::Provider::PhoneNumber;
my $faker = Faker->new;
my $phone = Faker::Provider::Telephone->new(factory => $faker);
say $phone->number;
DESCRIPTION
Faker::Provider::Telephone is a Faker provider which provides fake phone data. Note: This is an early release available for testing and feedback and as such is subject to change.
METHODS
number
$phone->number;
# (882) 119-2218
# (131) 225-5649
# 378 916 6044
The number method generates a random ficticious telephone number.
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.