| Data-RandomPerson documentation | Contained in the Data-RandomPerson distribution. |
Data::RandomPerson::Names::AncientGreekMale - A list of male names
This document refers to version 0.4 of Data::RandomPerson::Names::AncientGreekMale, released Sept 13th, 2005
use Data::RandomPerson::Names::AncientGreekMale; my $n = Data::RandomPerson::Names::AncientGreekMale->new(); print $n->get();
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.
Create the Data::RandomPerson::Names::AncientGreekMale object.
Returns a random name from the list.
Returns the size of the list
Perl 5
None
None so far
None
None
Peter Hickman (peterhi@ntlworld.com)
Copyright (c) 2005, Peter Hickman. All rights reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.
| Data-RandomPerson documentation | Contained in the Data-RandomPerson distribution. |
# $Id: AncientGreekMale.pm,v 1.3 2005/05/22 17:02:28 peterhickman Exp $ package Data::RandomPerson::Names::AncientGreekMale; 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/ acastus admete admetus adrastus aeetes aegialeus aeolus aeschylus agamemnon aias alastor alcathous alcestis alcibiades alcinoos alcmene anaximander anchises androcles anius anthemion antilochos antiphos arcesilaos archilocos arete argus aristophanes aristoteles ascalaphos astinoos castor chalcipe charopos chromios clytius cocalas cratylus creon crethon daedelus deicoon democoon demosthenes dido diogenes diomedes diores echemnon echepolos elephenor epistrophes ereuthalion erginus eumelos euneus eunos euripides euryales eurymedon eurypylos eurystheus gorge gorgias haimon hecabe heracles heraclitus hermagoras herodotus hicteon hippolytus hypsenor hypsipyle ialmenos iasus idaios idomeneus iolaus iphicus iphitos laertes lampos laodice leitos leucas longinus lycomedes manto mecisteus megamede megara meges menelau menestheus meriones midas mynes nestor nineus odysseus oedipus oeneus oenopion orsilochos panthoos paphos peiros pelasgon peleus peneleus periboea phaidimos phaistos phegeus phereclos philemon philomeleides phyleus pittheus platon plotinus podarcos polydeuces polyeides priam protagoras protheoenor pylaimenos pythagoras schedios socrates sthenelos strophios tecton telamon telopelemus teucer thepolemas theseus thespius thoas thoon thrasymedes thucydides thymoites tiresias tyndareus ucalegon xanthos zeno / ); return $self; } 1; __END__