diff options
Diffstat (limited to 'GroLUG/lib/GroLUG/M/DB.pm')
-rw-r--r-- | GroLUG/lib/GroLUG/M/DB.pm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/GroLUG/lib/GroLUG/M/DB.pm b/GroLUG/lib/GroLUG/M/DB.pm new file mode 100644 index 0000000..e45de9e --- /dev/null +++ b/GroLUG/lib/GroLUG/M/DB.pm @@ -0,0 +1,40 @@ +package GroLUG::M::DB; + +use strict; +use base 'Catalyst::Model::DBIC::Plain'; + +my @conn_info = ( + '', + '', + '', + { RaiseError => 1, PrintError => 0, ShowErrorStatement => 1, TraceLevel => 0 } +); + +__PACKAGE__->load_classes; +__PACKAGE__->compose_connection( __PACKAGE__, @conn_info ); + +=head1 NAME + +GroLUG::M::DB - DBIC Plain Model Component + +=head1 SYNOPSIS + +See L<GroLUG> + +=head1 DESCRIPTION + +DBIC Plain Model Component. + +=head1 AUTHOR + +A clever guy + +=head1 LICENSE + +This library is free software . You can redistribute it and/or modify +it under the same terms as perl itself. + +=cut + +1; + |