[CDBI] Class::DBI::Sweet Errors

Brad Bowman list at bereft.net
Tue Jan 10 00:11:57 GMT 2006

> I just switched over to using Class::DBI::Sweet from Class::DBI and
> now I get errors when I call find_or_create for a class.
> Can't locate object method "insert" via package "Class::DBI::Sweet" at
> /usr/lib/perl5/site_perl/5.8.2/Class/DBI/Sweet.pm line 630.
> It works fine under Class::DBI.  Any ideas?

Which versions of each are you using?

insert used to be called create, so if either version is old
then it may be causing the problem


 When one's own attitude on courage is fixed in his heart, and when his
 resolution is devoid of doubt, then when the time comes he will of
 necessity be able to choose the right move. -- Hagakure

More information about the ClassDBI mailing list