Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Adding a method to an existing object

by phaylon (Curate)
on Feb 17, 2012 at 19:06 UTC ( #954593=note: print w/ replies, xml ) Need Help??


in reply to Re: Adding a method to an existing object
in thread Adding a method to an existing object

Note that this will permanently change the MyApp class, which might not be what is desired. I tend to use MooseX::Traits in most of the general cases.


Ordinary morality is for ordinary people. -- Aleister Crowley


Comment on Re^2: Adding a method to an existing object
Re^3: Adding a method to an existing object
by chromatic (Archbishop) on Feb 17, 2012 at 19:20 UTC

    I should have mentioned that. It's no problem in my case, because I know none of the plugins will override each other (and no code wants to use an unmodified MyApp object), but Moose traits are more general and applicable.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-07-13 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (252 votes), past polls