Mock::Person - generates random last, first and middle name of person.
version 1.1.0
binmode STDOUT, ":utf8"; use Mock::Person; print Mock::Person::name(sex => "male", country => "ru") . "\n"; # Will print something like "Блохин Лев Владимирович"
Mock::Person uses Semantic Versioning standart for version numbers. Please visit http://semver.org/ to find out all about this great thing.
Recieves optional hash of parametes:
Sets sex of the person. Can be 'male' or 'female'. Default value is 'male'.
Sets the ethnic group of person's name. Default value is 'ru'.
Returns scalar with generated name.
Gene Boggs (GENE)
Сергей Романов (SROMANOV)
The source code for this module is hosted on GitHub http://github.com/bessarabov/Mock-Person
Ivan Bessarabov <ivan@bessarabov.ru>
This software is copyright (c) 2010 by Ivan Bessarabov.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Mock::Person, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mock::Person
CPAN shell
perl -MCPAN -e shell install Mock::Person
For more information on module installation, please visit the detailed CPAN module installation guide.