NAME
Mock::Person - generates random last, first and middle name of person.
VERSION
version 0.02
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.
SOURCE CODE
The source code for this module is hosted on GitHub http://github.com/bessarabov/Mock-Person
AUTHOR
Ivan Bessarabov <ivan@bessarabov.ru>
COPYRIGHT AND LICENSE
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.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 50:
Non-ASCII character seen before =encoding in '"Блохин'. Assuming CP1252
- Around line 52:
Couldn't do =encoding UTF-8: Encoding is already set to CP1252