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

Brandon Black blblack at gmail.com
Thu May 10 16:31:29 GMT 2007


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).



More information about the Dbix-class mailing list