Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Multiple Inheritance (DBIx::Class)

by Mutant (Priest)
on Jun 15, 2009 at 15:45 UTC ( #771690=note: print w/replies, xml ) Need Help??


in reply to Multiple Inheritance (DBIx::Class)

Sounds like you might want Moose roles. You could change the base classes you have into roles (pretty trivial), then use 'before/after/around' to modify the behaviour of the 'save' method appropriately.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://771690]
help
Chatterbox?
[robby_dobby]: As in, it's-too-fancy- that-it-will-be- messy-to-handle
[choroba]: bit vectors as keys?
[robby_dobby]: Hmm, I keep falling asleep at my desk, while maintaining an active appearance. Am I getting old?
[robby_dobby]: Every time I fall asleep, there's a small guy in the dreams, shouting "Whoo!" and it jolts me awake. :/
[Lady_Aleena]: robby_dobby, at least you aren't driving. I seem to always be driving somewhere in my dreams and end up at a weird house.
[robby_dobby]: LA: That's there. But this is work and it's the same thing as falling asleep driving :-)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-05-29 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?