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

Re^2: Moose composing role with required attribute into existing instance

by tj_thompson (Scribe)
on Aug 03, 2012 at 19:55 UTC ( #985338=note: print w/ replies, xml ) Need Help??


in reply to Re: Moose composing role with required attribute into existing instance
in thread Moose composing role with required attribute into existing instance

The first solution is good. I create the instance at the same time that I apply my selected roles, so this works nicely. Syntax is a little ugly, but I've seen worse :) Thank you Jandrew for the help!


Comment on Re^2: Moose composing role with required attribute into existing instance

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (14)
As of 2014-08-20 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (121 votes), past polls