thread discusses the scenario where the roles have been applied to an instance rather than the class. But in my case, it is applied to the class and only in certain scenarios (less frequent) we need it removed from the instance.
Maybe the constructor for your class could apply the role to new instances, then you could remove the role, as needed, from individual instances.
In reply to Re^3: Remove a role from a Moose object
by RonW
in thread Remove a role from a Moose object
by balachandran
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |