Faker::Provider::Telephone - Faker Standard Telephone Number Provider
use Faker; use Faker::Provider::PhoneNumber; my $faker = Faker->new; my $phone = Faker::Provider::Telephone->new(factory => $faker); say $phone->number;
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.
$phone->number; # (882) 119-2218 # (131) 225-5649 # 378 916 6044
The number method generates a random ficticious telephone number.
Al Newkirk <firstname.lastname@example.org>
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.