NAME
Acme::POE::Acronym::Generator - Generate random POE acronyms.
SYNOPSIS
use strict;
use Acme::POE::Acronym::Generator;
my $poegen = Acme::POE::Acronym::Generator->new();
for ( 1 .. 10 ) {
my $acronym = $poegen->generate();
print $acronym, "\n";
}
DESCRIPTION
What does POE stand for?" is a common question, and people have expanded the acronym in several ways.
Acme::POE::Acronym::Generator produces randomly generated expansions of the POE acronym.
CONSTRUCTOR
- new
-
Takes one optional parameter:
'dict', the path to the words file to use, default is /usr/share/dict/words;
If the dict file doesn't exist it will use a very small subset of words to generate responses.
Returns a shiny Acme::POE::Acronym::Generator object.
METHODS
- generate
-
Takes no parameters.
In a scalar context, returns a string containing the acronym.
In a list context, returns the individual words of the acronym as a list.
AUTHOR
Chris BinGOs
Williams <chris@bingosnet.co.uk>