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::HalflingName - return a halfling name

SYNOPSIS

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

DESCRIPTION

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

If a name is provided, the gender is returned.