Data::RandomPerson::Names::EnglishMale - A list of male names


Data-RandomPerson documentation Contained in the Data-RandomPerson distribution.

Index


Code Index:

NAME

Top

Data::RandomPerson::Names::EnglishMale - A list of male names

VERSION

Top

This document refers to version 0.4 of Data::RandomPerson::Names::EnglishMale, released Sept 13th, 2005

SYNOPSIS

Top

  use Data::RandomPerson::Names::EnglishMale;

  my $n = Data::RandomPerson::Names::EnglishMale->new();

  print $n->get();

DESCRIPTION

Top

Overview

Returns a random element from a list of male names culled from Chris Pound's language machines page at http://www.ruf.rice.edu/~pound/#scripts.

Constructors and initialization

new( )

Create the Data::RandomPerson::Names::EnglishMale object.

Class and object methods

get( )

Returns a random name from the list.

size( )

Returns the size of the list

ENVIRONMENT

Top

Perl 5

DIAGNOSTICS

Top

None

BUGS

Top

None so far

FILES

Top

None

SEE ALSO

Top

None

AUTHOR

Top

Peter Hickman (peterhi@ntlworld.com)

COPYRIGHT

Top


Data-RandomPerson documentation Contained in the Data-RandomPerson distribution.

# $Id: EnglishMale.pm,v 1.3 2005/05/22 17:02:28 peterhickman Exp $

package Data::RandomPerson::Names::EnglishMale;

use strict;
use warnings;

use base 'Data::RandomPerson::Names';

use Data::RandomPerson::Choice;

sub new {
    my ($class) = @_;

    my $self = bless {}, $class;

	$self->{choice} = Data::RandomPerson::Choice->new();

	$self->{choice}->add_list( qw/
aaron
adam
adrian
alan
alejandro
alex
allen
andrew
andy
anthony
art
arthur
barry
bart
ben
benjamin
bill
bobby
brad
bradley
brendan
brett
brian
bruce
bryan
carlos
chad
charles
chris
christopher
chuck
clay
corey
craig
dan
daniel
darren
dave
david
dean
dennis
denny
derek
don
doug
duane
edward
eric
eugene
evan
frank
fred
gary
gene
george
gordon
greg
harry
henry
hunter
ivan
jack
james
jamie
jason
jay
jeff
jeffrey
jeremy
jim
joe
joel
john
jonathan
joseph
justin
keith
ken
kevin
larry
logan
marc
mark
matt
matthew
michael
mike
nat
nathan
patrick
paul
perry
peter
philip
phillip
randy
raymond
ricardo
richard
rick
rob
robert
rod
roger
ross
ruben
russell
ryan
sam
scot
scott
sean
shaun
stephen
steve
steven
stewart
stuart
ted
thomas
tim
toby
todd
tom
troy
victor
wade
walter
wayne
william
			  / );

    return $self;
}

1;

__END__