Re: [CDBI] Class::DBI::Loader::mysql error

[prev] [thread] [next] [Date index for 2006/02/04]

From: Fred Moyer
Subject: Re: [CDBI] Class::DBI::Loader::mysql error
Date: 18:13 on 04 Feb 2006
Alexander Solla wrote:
> Hi everybody,
> 
> I'm having a heck of a time figuring out why
> 
> perl -e 'use Class::DBI::Loader::mysql'
> 
> fails with "Can't locate object method "set_sql" via package  
> "Class::DBI::mysql" at /usr/local/lib/perl5/site_perl/5.8.7/Class/DBI/ 
> mysql.pm line 58.
> Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.7/ 
> Class/DBI/Loader/mysql.pm line 8."

IIRC this was the same error I got when trying to check for the 
existence of plugins from the command line using the same syntax.  You 
may need to 'use Class::DBI' before you can use any plugins or 
derivative classes.

> 
> Obviously, this error isn't a "natural" error.  I'm trying to install  a 
> Catalyst CDBI module and an eval fails with the same error.  So I  poked 
> around the code, found the eval, and noticed that it was  equivalent to 
> 'use Class::DBI::Loader::mysql'.
> 
> Does anyone have any suggestions?
> Thanks,
> Alex

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] Class::DBI::Loader::mysql error
Alexander Solla 21:15 on 03 Feb 2006

Re: [CDBI] Class::DBI::Loader::mysql error
Fred Moyer 18:13 on 04 Feb 2006

Generated at 23:19 on 12 Feb 2006 by mariachi v0.52