Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 exploiting the Monastery: (14)
As of 2014-08-20 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (115 votes), past polls