in reply to Class Attributes with Moo ?
Yes, this is a MooX module I've been meaning to write for some time. Like you, I've been using package variables, but a proper class attribute would give you delegation, type constraints, triggers, etc.
I may have a stab at writing something along these lines in the next couple of weeks. I just need to delve into the Method::Generate::* code to see how feasible it might be.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Class Attributes with Moo ?
by mascip (Pilgrim) on Dec 27, 2012 at 16:22 UTC | |
by tobyink (Canon) on Jan 01, 2013 at 10:37 UTC | |
by mascip (Pilgrim) on Jan 01, 2013 at 16:37 UTC | |
|
Re^2: Class Attributes with Moo ?
by mascip (Pilgrim) on Dec 28, 2012 at 07:29 UTC |