[Dbix-class] bad result source? cryptic error message
Byron Young
Byron.Young at riverbed.com
Fri Apr 10 00:08:43 GMT 2009
Benjamin Hitz wrote on 2009-04-09:
>
> So, I have a result source (table class) made from an Oracle
> Materialized View.
> When I try to use it (rather, anything in the schema)M I get the
> following error message:
>
> fasolt 215 > perl -I ../../ -MDB::Mod -e '$s=DB::Mod->schema'
> DBIx::Class::Schema::throw_exception(): DB/Mod/Interaction_mv.pm did not
> return a true value at (eval 716) line 3.
This means your class DB/Mod/Interaction_mv.pm doesn't end with a statement that evaluates to true. Just add a line with '1;' to the end of the file.
Byron
More information about the DBIx-Class
mailing list