[Dbix-class] Error : Can't locate object method "connect"

Matt S Trout dbix-class at trout.me.uk
Sun Apr 30 03:31:11 CEST 2006


Dan Horne wrote:
> Whoops - I was using an older version of DBIx::Class. After upgrading, 
> my error is now
>  
> ./test.pl
> DBIx::Class::Schema::BEGIN(): Can't fetch data as class method at (eval 
> 260) line 2
> BEGIN failed--compilation aborted at (eval 260) line 2.
> Compilation failed in require at ./test.pl line 3.
> BEGIN failed--compilation aborted at ./test.pl line 3.

I'm going to have to admit to having no idea what the hell that error means. 
Can you try loading Devel::SimpleTrace or similar and see if you can get a 
stack trace out of it?

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Dbix-class mailing list