in reply to Re^2: Class::DBI -- does it get any easier?
in thread Class::DBI -- does it get any easier?

Yes. I often have packages that look something like this:

use Class::DBI::Loader; my $loader = Class::DBI::Loader->new( dsn => 'dbi:mysql:dbname', user => 'user', password => 'p455w0rd', namespace => 'MyApp', ); # MyObject is one of the tables in the database package MyApp::MyObject; # define various methods on that class 1;
--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg