View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Joshua Harding > Text-Typoifier-0.04a > Text::Typoifier

Download:
Text-Typoifier-0.04a.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.04a   Source  

NAME ^

Text::Typoifier - mangles text

SYNOPSIS ^

   use Text::Typoifier;

   $t = new Text::Typoifier;
   $text = $t->transform($text);

DESCRIPTION ^

Text::Typoifier is used when you have a sample of text that you wish to induce random errors in the text. I use this for a few IRC bots to lend a little extra credibility to the bot. It's not really hard to use.

METHODS ^

transform

Pass in the text to transform, returns the transformed text.

ATTRIBUTES ^

errorRate

Configures the percentage of errors that the module outputs. The value must be an integer between 1 and 10. 10 means that 100% of the time an error will be present in the text. 5 means that 50% of the time an error will be in the text.

REQUIRES ^

Perl 5

EXPORTS ^

Nothing

AUTHOR ^

xjharding@mac.com

syntax highlighting: