in reply to Moose: What about "class" attributes?
Moose has no base support for class attributes, and never will, mostly because I think they are a bad idea. That is not to say that I don't like static class data, I think that is fine and can easily be handled by using package level variables and "static" methods. But the idea of inheritable class attributes just make me cringe, but fortunately for those who disagree with me, Dave Rolsky has written MooseX::ClassAttribute which does an excellent job at providing this type of functionality.
-stvn
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Moose: What about "class" attributes?
by John M. Dlugosz (Monsignor) on May 01, 2011 at 10:06 UTC | |
by stvn (Monsignor) on May 01, 2011 at 12:39 UTC | |
by John M. Dlugosz (Monsignor) on May 01, 2011 at 12:59 UTC | |
by stvn (Monsignor) on May 02, 2011 at 00:56 UTC | |
by John M. Dlugosz (Monsignor) on May 02, 2011 at 03:59 UTC | |
|
In Section
Seekers of Perl Wisdom