[Dbix-class] Weird behaviour in 0.07999_02
Brandon Black
blblack at gmail.com
Thu Apr 19 23:17:54 GMT 2007
On 4/19/07, Jonas B. Nielsen <jonasbn at gmail.com> wrote:
I don't know about the other stuff yet, but I do have an answer for this part:
>
> Another question, which arose with the issue above was, what is the
> recommended layout of a namespace? as the one I use above or should
> RS go under DB the following way:
>
> FAIadmin/DB.pm
> FAIadmin/DB/*.pm
> FAIadmin/DB/RS/*.pm
>
In -current (and 0.07999_0x), there's a new way to load a schema that
makes this stuff easier:
"load_namespaces":
http://search.cpan.org/~jrobinson/DBIx-Class-0.07999_02/lib/DBIx/Class/Schema.pm#load_namespaces
As far as I remember, when I put that in it did load the resultset
class for you too.
-- Brandon
More information about the Dbix-class
mailing list