The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Game::CharacterSheetGenerator::HumanName - return a human name

SYNOPSIS

use Game::CharacterSheetGenerator::HumanName qw(human_name);
# returns both $name and $gender (F, M, or ?)
my ($name, $gender) = human_name();
# returns the same name and its gender
($name, $gender) = human_name("Alex");

DESCRIPTION

This package has one function that returns a human name and a gender. The gender returned is "M", "F", or "?".

If a name is provided, the gender is returned.