DBIx::Class::Validation::Structure - DBIx::Class Validation based on the column meta data
package MyApp::Schema::Result::Artist; use base qw/DBIx::Class::Core/; __PACKAGE__->load_components(qw/Validation::Structure/); __PACKAGE__->table('artist'); __PACKAGE__->add_columns(qw/ artistid name /); __PACKAGE__->set_primary_key('artistid'); __PACKAGE__->has_many(cds => 'MyApp::Schema::Result::CD');
DBIx::Class::Validation::Structure is DBIx::Class Validation based on the column meta data set in add_columns or add_column.
Sean Zellmer <sean@lejeunerenard.com>
Copyright 2013- Sean Zellmer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DBIx::Class::Validation::Structure, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::Validation::Structure
CPAN shell
perl -MCPAN -e shell install DBIx::Class::Validation::Structure
For more information on module installation, please visit the detailed CPAN module installation guide.