NAME
Chicken::Ipsum - Generate random chicken noises.
SYNOPSIS
require Chicken::Ipsum;
my $ci = Chicken::Ipsum->new();
# Generate a string of text with 5 words
$words = $ci->words(5);
# Generate a list of 5 words
@words = $ci->words(5);
# Generate a string of text with 2 sentences
$sentences = $ci->sentences(2);
# Generate a list of 2 sentences
@sentences = $ci->sentences(2);
# Generate a string of text with 3 paragraphs
$paragraphs = $ci->paragraphs(3);
# Generate a list of 3 paragraphs
@paragraphs = $ci->paragraphs(3);
DESCRIPTION
Often when developing a website or other application, it's important to have placeholders for content. This module generates prescribed amounts of clucking, cawing and other chicken-y noises.
CONSTRUCTOR
new()
The default constructor, new()
takes no arguments and returns a Chicken::Ipsum object.
METHODS
All methods below will return a string in scalar context or list in list context.
words( INTEGER )
Returns INTEGER Chicken words.
sentences( INTEGER )
Returns INTEGER sentences in Chicken.
paragraphs( INTEGER )
Returns INTEGER paragraphs of Chicken text.
AUTHOR
Dan Church (DCHURCH on CPAN)
SEE ALSO
https://isotropic.org/papers/chicken.pdf
COPYRIGHT
Copyright (C) 2023 Dan Church (h3xx<attyzatzat>gmx<dottydot>com).
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AVAILABILITY
The latest version of this library is likely to be available from CPAN as well as:
https://codeberg.org/h3xx/perl-Chicken-Ipsum
THANKS
Thanks to Sebastian Carlos's https://chickenipsum.lol/ (https://github.com/sebastiancarlos/chicken-ipsum) for the inspiration.