in reply to Moose: How to change type constraint of an attribute at runtime?

The type constraint slot is read-only, and for good reasons. There should be no reason you would ever want to do this, can you perhaps explain what you are trying to achieve?

-stvn
  • Comment on Re: Moose: How to change type constraint of an attribute at runtime?

Replies are listed 'Best First'.
Re^2: Moose: How to change type constraint of an attribute at runtime?
by llancet (Friar) on Jun 01, 2010 at 01:02 UTC

    You are probably right. I'm doing something so ugly that is difficult to describe in a few words, and the implementation seems need to be changed...