
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.

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
}
}
]
);

Data::Maker::Field::Lorem takes any of the following arguments, which are passed directly to Text::Ipsum:
The number of words to generate
The number of sentences to generate
The number of paragraphs to generate

John Ingram (john@funnycow.com)

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.