On 21 Jan 2010, at 18:36, Rodrigo wrote:
So ideally I would like to have DB entities represented by a single
Moose class, rather than in 2 or more places. For that there's
KiokuDB and MooseX::NonMoose-- the latter should allow a moose class
to inherit from a DBIC class. Haven't tried neither, though.
So ideally I would like to have DB entities represented by a single
Moose class, rather than in 2 or more places. For that there's
KiokuDB and MooseX::NonMoose-- the latter should allow a moose class
to inherit from a DBIC class. Haven't tried neither, though.
You end up double declaring stuff (which is non optimum), and Moose
comes after DBIC (as you replace the simple dbic accessors with more
complex Moose stuff), but it works fine..
Cheers
t0m