DBIx::DataModel::Meta::Type - registered collection of column handlers
my $type = DBIx::DataModel::Meta::Type->new( schema => $meta_schema, name => $type_name, handlers => { $handler_name_1 => sub { ... }, $handler_name_2 => sub { ... }, ... }, );
A type is just a hashref of handler names and handler bodies (coderefs). The type can then be applied to some columns in some tables through the "define_column_type" in DBIx::DataModel::Doc::Reference method.
To install DBIx::DataModel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::DataModel
CPAN shell
perl -MCPAN -e shell install DBIx::DataModel
For more information on module installation, please visit the detailed CPAN module installation guide.