Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Moose rolesby EvanCarroll (Chaplain) |
on Jan 13, 2010 at 22:03 UTC ( [id://817291]=note: print w/replies, xml ) | Need Help?? |
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)
In Section
Seekers of Perl Wisdom
|
|