Dave Rolsky > Data-Random-Contact > Data::Random::Contact::Language::EN

Download:
Data-Random-Contact-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.05   Source  

NAME ^

Data::Random::Contact::Language::EN - English language contact data

VERSION ^

version 0.05

DESCRIPTION ^

This module provides English language name data.

METHODS ^

This module provides the following methods:

$en->male_given_name()

Returns a random male given name.

$en->female_given_name()

Returns a random female given name.

$en->male_middle_name()

Returns a random male middle name. This will either be a full name or an initial.

$en->female_middle_name()

Returns a random female middle name. This will either be a full name or an initial.

$en->male_salutation()

Returns an appropriate salutation for a man, like "Dr" or "Mr".

$en->female_salutation()

Returns an appropriate salutation for a man, like "Dr", "Ms", or "Mrs".

$en->male_suffix()

Returns an appropriate suffix for a man, like "Jr" or "III".

$en->female_suffix()

This always returns undef.

$en->surname()

Returns a random surname.

$en->household_name()

This returns something like "The Smith Home" or "The Abads". The name always incorporates an English surname.

$en->organization_name()

This returns a random name based on English dictionary words. It will consist of 1-4 random words separated by a single space.

AUTHOR ^

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2011 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: