NAME
Lingua::PigLatin - Perl extension for Pig Latin
SYNOPSIS
use Lingua::PigLatin 'piglatin';
print piglatin("Put the candle back.");
DESCRIPTION
This module translates strings into Pig Latin.
For any word starting with one or more consonants (including digraphs such as qu-, th-, sh-, ch-, gh-, wh-, or ph-), move the starting syllable to the end of the word and append -ay.
For any word starting with a vowel do not move the syllable, but append -way.
orFay anyway ordway tartingsay ithway oneway orway oremay onsonantscay (includingway igraphsday uchsay asway uqay-, htay-, hsay-, hcay-, hgay-, hway-, orway hpay-), ovemay ethay tartingsay yllablesay otay ethay endway ofway ethay ordway andway appendway -ayway.
orFay anyway ordway tartingsay ithway away owelvay oday otnay ovemay ethay yllablesay, utbay appendway -ayway.
EXPORT
None by default.
Can export piglatin function for convenience.
SEE ALSO
http://www.perlmonks.org/?node_id=3586
KNOWN PROBLEMS
Capitalization. Contractions.
AUTHOR
Jack Coates, <jack@monkeynoodle.org>>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Jack Coates
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.