DBIx::ObjectMapper::Engine::DBI - the DBI engine
my $engine = DBIx::ObjectMapper::Engine::DBI->new({ dsn => 'DBI:SQLite', username => 'username', password => 'password', AutoCommit => 1, RaiseError => 1, PrintError => 0, ShowErrorStatement => 1, HandleError => sub{ confess($_[0]) }, on_connect_do => [], on_disconnect_do => [], db_schema => 'public', namesep => '.', quote => '"', iterator => '', time_zone => 'UTC', disable_prepare_caching => '', cache => '', }); # or like a DBI module my $engine = DBIx::ObjectMapper::Engine::DBI->new([ 'DBI:SQLite','username', 'password', { AutoCommit => 1, RaiseError => 1, PrintError => 0, ShowErrorStatement => 1, HandleError => sub{ confess($_[0]) }, on_connect_do => [], on_disconnect_do => [], db_schema => 'public', namesep => '.', quote => '"', iterator => '', time_zone => 'UTC', disable_prepare_caching => '', cache => '', } ]);
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.