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::ElfName - return a elf name

SYNOPSIS

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

DESCRIPTION

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

If a name is provided, the gender is returned.