NAME
Mock::Person - generates random last, first and middle name of person.
SYNOPSIS
binmode STDOUT, ":utf8";
use Mock::Person;
print Mock::Person::name(sex => "male") . "\n";
# Will print something like "Блохин Лев Владимирович"
GENERAL FUNCTIONS
name
Recieves optional hash of parametes:
- sex
-
Sets sex of the person. Can be 'male' or 'female'. Default value is 'male'.
- country
-
Sets the ethnic group of person's name. Default value is 'ru'.
Returns scalar with generated name.
AUTHOR
Ivan Bessarabov, <ivan@bessarabov.ru>
SOURCE CODE
The source code for this module is hosted on GitHub http://github.com/bessarabov/Mock-Person