On Tue, May 27, 2008 at 02:58:27PM -0700, Jennifer Ahn wrote:
> hi!
> 
> i created a Dual table which selects from dual.
> however, i get this error when i try to instantiate the class:
> 
> Couldn't instantiate component... "Cannot load schema class 'MyDB': 
> DBIx::Class::Schema::throw_exception(): MyDB/Dual.pm did not return a 
> true value at /usr/lib/perl5/site_perl/5.8.8/Class/C3/Componentised.pm 
> line 126.
> 
> has anybody run into a similar problem?

A .pm file must return a true value or it's assumed to have failed to load.

This is standard perl - if you don't know this I suggest you buy yourself
a copy of either Learning Perl or Beginning Perl and read through it.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to