John Ingram > Data-Maker > Data::Maker::Field::Lorem

Download:
Data-Maker-0.28.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.10   Source  

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:

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.

syntax highlighting: