in reply to Re: Class variables in Moose?
in thread Class variables in Moose?

I think your solution will take care of the assumed semantics of maximum_age but that's a constraint rather than a class variable.

I don't know if there's a different way in Moose to do that, but How do I create static class variables (class data)? may be what the OP is looking for.

Replies are listed 'Best First'.
Re^3: Class variables in Moose?
by jds17 (Pilgrim) on Jun 05, 2008 at 10:11 UTC
    skirnir, you are right, I missed the point this time, I completely overlooked the word Class, sorry :-(
      Well, if the above is a real life example, chances are that you solved an XY Problem for the OP.