[CDBI] has_many self reference

Perrin Harkins perrin at elem.com
Mon Feb 6 20:50:33 GMT 2006

On Sun, 2006-02-05 at 07:37 -0800, Hunter Thomas wrote:
> use base 'My::DB'; #inherits from Class::DBI::AutoLoader
> Couldn't load "Entry", "Can't locate object method "meta_info" via 
> package "Entry" at 
> /usr/local/lib/perl5/site_perl/5.8.7/Class/DBI/Relationship/HasMany.pm 
> line 34

Sounds like Class::DBI::AutoLoader (which I know nothing about) has not
set up the table yet when you hit this.  Try defining the table and it's
columns manually.

- Perrin

More information about the ClassDBI mailing list