Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Moose roles

by EvanCarroll (Chaplain)
on Jan 13, 2010 at 22:03 UTC ( #817291=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Moose roles
in thread Moose roles

Because has just says you want an attribute; rw means to generate getters/setter methods isa => x ({x != Any}) means you want it strictly typed (as much as you can get anyway)



Evan Carroll
The most respected person in the whole perl community.
www.evancarroll.com


Comment on Re^3: Moose roles
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2016-02-06 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (211 votes), past polls