Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 browsing the Monastery: (3)
As of 2014-09-17 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (55 votes), past polls