Acme::Yoda -
use Acme::Yoda;
Acme::Yoda translates back and forth from yoda speak.
use Acme::Yoda; my $y = Acme::Yoda->new(); my $translated = $y->yoda('I am your father'); my $back_again = $y->deyoda($translated)
You can only deyoda sentences you have yoda'ed, since I have no reliable way to discern the subject of the sentence. Both issues need to be fixed.
email me if you need help.
Christian Brink GREP cbrink@flylines.org http://www.yoda-speak.org
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl(1).
Usage : new( sentence => 'I am a sentence') or just new(); Purpose : constructor Returns : Acme::Yoda object Argument : can take a sentence
Usage : yoda('sentence') Purpose : Translates your sentenece into yoda speak Returns : string Argument : string Comments : You can sent the sentence in new() or send it here
Usage : deyoda('sentence') Purpose : Translates your sentenece out of yoda speak Returns : string Argument : string Comments :
To install Acme::Yoda, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::Yoda
CPAN shell
perl -MCPAN -e shell install Acme::Yoda
For more information on module installation, please visit the detailed CPAN module installation guide.