[Dbix-class] Is there a way setup a DBIC schema, result and resultset classes in one file?

Peter Rabbitson rabbit+dbic at rabbit.us
Wed Feb 25 11:03:06 GMT 2009


Zbigniew Lukasiak wrote:
> Hi there,
> 
> There is a question at PerlMonks about that:
> http://perlmonks.org/?node_id=746160 and I have to add that this is
> something I've been frequently pondering myself when sending DBIC
> examples.
> 

I don't see what the problem is. His error comes most likely from
defining the Schema package before the Resultsource packages.

http://dev.catalyst.perl.org/svnweb/bast/view/DBIx-Class/0.08/trunk/t/73oracle.t
is an example of such usage in action (albeit with a single class).



More information about the DBIx-Class mailing list