José Diaz Seng > DBIx-Table-TestDataGenerator > DBIx::Table::TestDataGenerator::Randomize

Download:
DBIx-Table-TestDataGenerator-0.005.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.005   Source  

NAME ^

DBIx::Table::TestDataGenerator::Randomize - random record selections

DESCRIPTION ^

Handles random selection of column values in a DBIx::Class context.

SUBROUTINES/METHODS ^

random_record

Arguments:

Returns a hash where the keys are the column names passed in in the argument colname_list and the corresponding values come from a randomly selected record of the target table.

AUTHOR ^

Jose Diaz Seng, <josediazseng at gmx.de>

COPYRIGHT AND LICENSE ^

Copyright (C) 2012-2013, Jose Diaz Seng.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

syntax highlighting: