[Dbix-class] Re: Resultset classes and auto-loading

Brandon Black blblack at gmail.com
Thu May 10 16:32:39 GMT 2007


On 5/10/07, Brandon Black <blblack at gmail.com> wrote:
> On 5/10/07, Christopher H. Laco <claco at chrislaco.com> wrote:
> >
> > Given that I understood about 1% of that... :-)
> > Would using 'calculateMRO' in a CAG::C3->get_super_paths($class) for now
> > still be more correct at this point?
> >
>
> Yes, so long as you detect that $class is using C3 and only do it in
> those cases.  mro::get_linear_isa($class) will do the same basic thing
> as calculateMRO, but it automatically knows about C3 vs "normal", and
> gives the right answer for both.  (once it exists for your perl).
>

I guess I'm failing to mention that everything I'm saying is
predicated on the idea of making CAG C3-compatible, rather than adding
a new package CAG::C3



More information about the Dbix-class mailing list