"be consistent" | |
PerlMonks |
Re^2: Moose rolesby dk (Chaplain) |
on Jan 13, 2010 at 18:31 UTC ( [id://817253]=note: print w/replies, xml ) | Need Help?? |
Yes, my apologies, I didn't reference this post in the list.
Off the topic,.I don't understand why "has" doesn't allow shorter syntax - if I write "has x => (is=>rw, isa=>Int, ....)" two thousand times, why can't I declare a subtype or trait or whatever that would be accessible with "has x => mytype"? That's just not perlish, to write too much when you can avoid that :)
In Section
Seekers of Perl Wisdom
|
|