Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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.


Comment on Re: Multiple Inheritance (DBIx::Class)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://771690]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-12-18 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls