NAME

Mock::Person - generates random last, first and middle name of person.

VERSION

version 1.1.0

SYNOPSIS

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.

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.

CONTRIBUTORS

  • Gene Boggs (GENE)

  • Сергей Романов (SROMANOV)

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.