Generate random latin looking text
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);
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.
The default constructor, \*(C`new()\*(C' takes no arguments and returns a Text::Lorem object.
Returns \s-1INTEGER\s0 fake Latin words. Returns \s-1INTEGER\s0 sentences in fake Latin. Returns \s-1INTEGER\s0 paragraphs of fake Latin text.
Thanks to the guys who pushed me off the cliff called comfort and into the scary world of Perl: James Duncan, Leon Brocard.
Adeola Awoyemi ([email protected])
L<WWW::Lipsum> and L<http://lipsum.com/>
Copyright 2003 Fotango Ltd. All rights reserved. <http://opensource.fotango.com/> This software is released under the same license as Perl itself.