Data::Fake::Names - Fake name data generators
version 0.006
use Data::Fake::Names; fake_first_name()->(); # Fred, Mary, etc. fake_surname()->(); # Cooke, Boyle, etc. fake_name()->(); # Fred James Cooke, etc.
This module provides fake data generators for person names. Currently, all names are English ASCII, drawn from US government "top names" lists.
All functions are exported by default.
$generator = fake_name();
Returns a generator that provides a randomly selected name with first, middle and last name parts.
$generator = fake_first_name();
Returns a generator that provides a randomly selected first name. It will be split 50/50 between male and female names.
$generator = fake_surname();
Returns a generator that provides a randomly selected surname.
David Golden <dagolden@cpan.org>
This software is Copyright (c) 2015 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Data::Fake, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Fake
CPAN shell
perl -MCPAN -e shell install Data::Fake
For more information on module installation, please visit the detailed CPAN module installation guide.