DBIx::ObjectMapper::Mapper - map the metadata to a class.
my $mapped_artist = DBIx::ObjectMapper::Mapper->new( $meta->t('artist') => 'My::Artist', attributes => { include => [], exclude => [], prefix => '', properties => +{ col1 => { isa => undef, lazy => 0, validation => 0, }, } }, accessors => +{ auto => 0, exclude => [], do_replace => 0, }, constructor => +{ name => 'new', arg_type => 'HASHREF', auto => 0, }, default_condition => [], default_value => {}, );
Eisuke Oishi
Copyright 2010 Eisuke Oishi
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DBIx::ObjectMapper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::ObjectMapper
CPAN shell
perl -MCPAN -e shell install DBIx::ObjectMapper
For more information on module installation, please visit the detailed CPAN module installation guide.