Subject: | Couldn't require loader class "Class::DBI::Loader::mysql" |
I'm trying to use CDL with this configuration:
my $loader = Class::DBI::Loader->new(
dsn => "dbi:mysql:keyshop:127.0.0.1",
user => "user",
password => "pass",
namespace => "Data",
debug => 1,
);
When I run the script I get:
Couldn't require loader class "Class::DBI::Loader::mysql", "Can't locate
object method "set_sql" via package "Class::DBI::mysql" at
/usr/lib/perl5/vendor_perl/5.8.7/Class/DBI/mysql.pm line 58.
Compilation failed in require at
/usr/lib/perl5/vendor_perl/5.8.8/Class/DBI/Loader/mysql.pm line 8.
Compilation failed in require at (eval 3) line 2.
BEGIN failed--compilation aborted at (eval 3) line 2.
" at /usr/lib/perl5/vendor_perl/5.8.8/Class/DBI/Loader.pm line 81.
I'm not sure what's wrong. This works on Class::DBI::Loader version 0.22
Robert Boone