Mock::Person - generates random last, first and middle name of person.
binmode STDOUT, ":utf8"; use Mock::Person; print Mock::Person::name(sex => "male") . "\n"; # Will print something like "Блохин Лев Владимирович"
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.
The source code for this module is hosted on GitHub http://github.com/bessarabov/Mock-Person
Ivan Bessarabov <firstname.lastname@example.org>
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.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 50:
Non-ASCII character seen before =encoding in '"Блохин'. Assuming UTF-8