I am pondering whether you are doing something extremely clever (and I fail to see the point) or whether you're just doing it wrong. The reason why I consider 'you are doing it wrong' is because all instances of a specific class are supposed to have the same interface.
Typical approaches to solve your requirements would be:
In your case I suggest the second approach since you indicated the readonly/readwrite status may change at some point.
In reply to Re^3: Remove a role from a Moose object
by Monk::Thomas
in thread Remove a role from a Moose object
by balachandran
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |