NAME

Mock::Person::SK::ROM - Generate random sets of Romani names.

SYNOPSIS

use Mock::Person::SK::ROM qw(first_male first_female last_male last_female
        middle_male middle_female name name_female name_male);

my $first_male = first_male();
my $first_female = first_female();
my $last_male = last_male();
my $last_female = last_female();
my $middle_male = middle_male();
my $middle_female = middle_female();
my $name = name($sex);
my $female_name = name_female();
my $male_name = name_male();

DESCRIPTION

Data for this module was found on these pages:

Last names

cz.wikipedia.org

Middle names

There's usually no distinction between a first and middle name in the Czech Republic.

First names

cz.wikipedia.org - male names, cs.wikipedia.org - female names.

SUBROUTINES

first_male

my $first_male = first_male();

Get random first name of male person.

Returns string.

first_female

my $first_female = first_female();

Get random first name of female person.

Returns string.

last_male

my $last_male = last_male();

Get random last name of male person.

Returns string.

last_female

my $last_female = last_female();

Get random last name of female person.

Returns string.

middle_male

my $middle_male = middle_male();

Get random middle name of male person.

Returns string.

middle_female

my $middle_female = middle_female();

Get random middle name of female person.

Returns string.

name

my $name = name($sex);

Get name defined with sex of the person ('male' or 'female'). Default value of $sex variable is undef, that means random name.

Returns string.

name_female

my $female_name = name_female();

Get random female name.

Returns string.

name_male

my $male_name = name_male();

Get random male name.

Returns string.

VARIABLES

TYPE

Name type.

Possible values are: 'two', 'three'.

Default value is 'two'.

EXAMPLE1

use strict;
use warnings;

use Encode qw(encode_utf8);
use Mock::Person::SK::ROM qw(name);

# Error.
print encode_utf8(name())."\n";

# Output like:
# Kevin Mižigar

EXAMPLE2

use strict;
use warnings;

use Encode qw(encode_utf8);
use Mock::Person::SK::ROM;

# Get all last male names.
my @last_males = @Mock::Person::SK::ROM::last_male;

# Print out.
print sort map { encode_utf8($_)."\n" } @last_males;

# Output:
# Absolon
# Bado
# Bady
# Badžo
# Bagár
# Balog
# Balogh
# Bamberger
# Bandi
# Banga
# Bango
# Bari
# Barok
# Barya
# Bazylak
# Bažo
# Bednár
# Bendig
# Bengoro
# Berki
# Berko
# Beňo
# Beňák
# Bihári
# Biháryi
# Bikar
# Bilaj
# Bogol
# Bokor
# Botoš
# Budaj
# Byl
# Báro
# Chanžalik
# Charvát
# Cirok
# Cobas
# Csocs
# Dajdy
# Daniel
# Danihel
# Danko
# Dany
# Danyi
# David
# Daďo
# Demeter
# Derulo
# Deňo
# Dirda
# Dudy
# Dunko
# Duraj
# Durasko
# Durda
# Durňak
# Dydyk
# Dzudza
# Dzurko
# Džuga
# Džuman
# Fabián
# Fako
# Farkaš
# Fehér
# Fekete
# Ferenc
# Ferko
# Fečo
# Fábero
# Gabčo
# Gadzor
# Gadžor
# Galba
# Gataš
# Gatoš
# Gaži
# Girga
# Gizman
# Giňa
# Giňo
# Goga
# Gondolán
# Gondy
# Gorol
# Grondzár
# Grundza
# Guman
# Gunar
# Gunár
# Gábor
# Hangurbadžo
# Hanko
# Herák
# Hiňa
# Holdy
# Holomek
# Holub
# Horváth
# Hrivňák
# Husar
# Huňák
# Ištok
# Ištván
# Ištánek
# Janeček
# Jano
# Jurko
# Jurčo
# Kajkoš
# Kaleja
# Karol
# Karvaj
# Kavur
# Kašperko
# Kirko
# Kirvej
# Klempár
# Klimt
# Koky
# Kotlár
# Kovács
# Kováč
# Kramčanin
# Kuky
# Kumaj
# Kurej
# Kurko
# Kučeraj
# Kýr
# Lacko
# Lagryn
# Lakatoš
# Latymor
# Lazok
# Lofas
# Lomanth
# Makaj
# Makuňa
# Malar
# Malík
# Maďar
# Mezej
# Mezga
# Miazga
# Miko
# Milko
# Mindzár
# Mirga
# Mižigar
# Molnar
# Murka
# Mézga
# Németh
# Oláh
# Ondič
# Oračko
# Pacaj
# Pako
# Petržilka
# Pfeffer
# Plachetka
# Pocikál
# Pohlodko
# Polhoš
# Porčogoš
# Procházka
# Richter
# Rigo
# Rusznyak
# Růžička
# Sakajto
# Samel
# Sarkozy
# Sinu
# Sivák
# Stojka
# Stylar
# Surmaj
# Szajko
# Szamko
# Tancosz
# Tancoš
# Telvak
# Tomaš
# Tomko
# Totorkul
# Tulej
# Tuleja
# Turták
# Vega
# Veselý
# Virag
# Vrba
# Zaječí
# Zaňák
# Černohorský
# Červeňák
# Čisar
# Čičák
# Čobak
# Čonka
# Čornej
# Čurej
# Čureja
# Čuri
# Čurko
# Číča
# Ďuďa
# Šajko
# Šamko
# Šandor
# Šarkezy
# Šidélko
# Šimko
# Špivak
# Šándor
# Ščuka
# Šťuko
# Žiga
# Žolták

DEPENDENCIES

Exporter, List::Util, Readonly.

SEE ALSO

Task::Mock::Person

Install the Mock::Person modules.

REPOSITORY

https://github.com/michal-josef-spacek/Mock-Person-SK-ROM

AUTHOR

Michal Josef Špaček mailto:skim@cpan.org

http://skim.cz

LICENSE AND COPYRIGHT

© Michal Josef Špaček 2013-2023

BSD 2-Clause License

VERSION

0.03