Acme::POE::Acronym::Generator - Generate random POE acronyms.
use strict; use Acme::POE::Acronym::Generator; my $poegen = Acme::POE::Acronym::Generator->new(); for ( 1 .. 10 ) { my $acronym = $poegen->generate(); print $acronym, "\n"; }
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 ( or at your option any other arbitary word ).
Takes three optional parameters:
'dict', the path to the words file to use, default is /usr/share/dict/words; 'wordlist', an arrayref consisting of words to use, this overrides the use of dict file; 'key', provide a word to make an acronym for instead of POE;
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.
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.
Chris BinGOs Williams <chris@bingosnet.co.uk>
BinGOs
http://poe.perl.org/?What_POE_Is
To install Acme::POE::Acronym::Generator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::POE::Acronym::Generator
CPAN shell
perl -MCPAN -e shell install Acme::POE::Acronym::Generator
For more information on module installation, please visit the detailed CPAN module installation guide.