Query: text::lorem
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Text::Lorem(3pm) User Contributed Perl Documentation Text::Lorem(3pm)NAMEText::Lorem - Generate random Latin looking textSYNOPSISuse 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);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"new()" The default constructor, "new()" takes no arguments and returns a Text::Lorem object.METHODS"words( INTEGER )" Returns INTEGER fake Latin words. "sentences( INTEGER )" Returns INTEGER sentences in fake Latin. "paragraphs( INTEGER )" Returns INTEGER paragraphs of fake Latin text.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@fotango.com)SEE ALSOL<WWW::Lipsum> and L<http://lipsum.com/>COPYRIGHTCopyright 2003 Fotango Ltd. All rights reserved. <http://opensource.fotango.com/> This software is released under the same license as Perl itself. perl v5.10.1 2011-01-05 Text::Lorem(3pm)
Similar Topics in the Unix Linux Community |
---|
SED or AWK "append line to the previous line" |
Displaying Text |
Unable to gunzip .tgz file in AIX6.1 |
Do you guys watch sports ? |
Make all words begin with capital letter? |