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

Download:
Data-Maker-0.28.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.24   Source  

NAME ^

Data::Maker::Field::Number - A Data::Maker field class used for generating numeric data.

SYNOPSIS ^

  use Data::Maker;
  use Data::Maker::Field::Number;

  my $maker = Data::Maker->new(
    record_count => 10,
    fields => [
      {
        name => 'population',
        class => 'Data::Maker::Field::Number',
        args => {
          min => 5000,
          max => 5000000
        }
      }
    ]
  );

DESCRIPTION ^

Data::Maker::Field::Number supports the following Moose attributes:

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: