NAME
Data::Maker::Field::Lorem - A Data::Maker field class that uses Text::Lorem to generate random Latin-looking text, given a number of words, sentences or paragraphs.
SYNOPSIS
use Data::Maker;
use Data::Maker::Field::Lorem;
my $maker = Data::Maker->new(
record_count => 10,
fields => [
{
name => 'lorem',
class => 'Data::Maker::Field::Lorem',
args => {
words => 4
}
}
]
);
DESCRIPTION
Data::Maker::Field::Lorem takes any of the following arguments, which are passed directly to Text::Ipsum:
words
The number of words to generate
sentences
The number of sentences to generate
paragraphs
The number of paragraphs to generate
AUTHOR
John Ingram (john@funnycow.com)
LICENSE
Copyright 2010 by John Ingram. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.