rlb3 has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I'm trying to use CDL with this configuration:
When I run the script I get:my $loader = Class::DBI::Loader->new( dsn => "dbi:mysql:keyshop:127.0.0.1", user => "user", password => "pass", namespace => "Data", debug => 1, );
Couldn't require loader class "Class::DBI::Loader::mysql", "Can't loca +te 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. I did find a ticket on rt.cpan.org that said this error is the result of not having the Class::DBI::mysql installed, but I do have it installed. I have reinstalled it to be sure.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Class::DBI::Loader problems
by gellyfish (Monsignor) on Apr 12, 2006 at 16:25 UTC | |
Re: Class::DBI::Loader problems
by Corion (Patriarch) on Apr 12, 2006 at 16:07 UTC | |
by rlb3 (Deacon) on Apr 12, 2006 at 16:14 UTC | |
Re: Class::DBI::Loader problems
by Herkum (Parson) on Apr 12, 2006 at 16:26 UTC | |
by rlb3 (Deacon) on Apr 12, 2006 at 16:43 UTC | |
by lestrrat (Deacon) on Apr 12, 2006 at 17:46 UTC | |
by rlb3 (Deacon) on Apr 12, 2006 at 18:16 UTC | |
by Herkum (Parson) on Apr 12, 2006 at 17:18 UTC |