Does your MyDB/Dual.pm end in '1;'?  Perl complains if your modules don't end 
with a true statement.

byron

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?
>
> jen
>
>
> _______________________________________________
> 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]

_______________________________________________
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