![]() |
![]()
| ![]() |
![]()
NAMEText::Lorem - Generate random Latin looking text SYNOPSISuse Text::Lorem; my $text = Text::Lorem->new(); # Generate a string of text with 5 words $words = $text->words(5); # Generate a list of 5 words @words = $text->words(5); # Generate a string of text with 2 sentences $sentences = $text->sentences(2); # Generate a list of 2 sentences @sentences = $text->sentences(2); # Generate a string of text with 3 paragraphs $paragraphs = $text->paragraphs(3); # Generate a list of 3 paragraphs @paragraphs = $text->paragraphs(3); DESCRIPTIONOften 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
METHODSAll methods below will return a string in scalar context or list in list context.
THANKSThanks to the guys who pushed me off the cliff called comfort and into the scary world of Perl: James Duncan, Leon Brocard. AUTHORAdeola Awoyemi (adeola@cpan.org) SEE ALSOL<WWW::Lipsum> and L<http://lipsum.com/> COPYRIGHTCopyright (c) 2003 by Adeola Awoyemi. This software is released under the same license as Perl itself.
|