Text::Lorem - Generate random Latin looking text


Text-Lorem documentation  | view source Contained in the Text-Lorem distribution.

Index


NAME

Top

Text::Lorem - Generate random Latin looking text

SYNOPSIS

Top

    use Text::Lorem;

    my $text = Text::Lorem->new();

    # Generate a string of text with 5 words
    $words = $text->words(5);

    # Generate a string of text with 2 sentences
    $sentences = $text->sentences(2);

    # Generate 3 paragraphs
    $paragraphs = $text->paragraphs(3);

DESCRIPTION

Top

Often when developing a website or other application it's important to have placeholders for content. This module generates prescribed amounts of fake Latin text.

CONSTRUCTOR

Top

new()

The default constructor, new() takes no arguments and returns a Text::Lorem object.

METHODS

Top

words( INTEGER )

Returns INTEGER fake Latin words.

sentences( INTEGER )

Returns INTEGER sentences in fake Latin.

paragraphs( INTEGER )

Returns INTEGER paragraphs of fake Latin text.

THANKS

Top

Thanks to the guys who pushed me off the cliff called comfort and into the scary world of Perl: James Duncan, Leon Brocard.

AUTHOR

Top

Adeola Awoyemi (adeola@fotango.com)

SEE ALSO

Top

  L<WWW::Lipsum> and L<http://lipsum.com/>

COPYRIGHT

Top


Text-Lorem documentation  | view source Contained in the Text-Lorem distribution.