in reply to Re^2: Remove a role from a Moose object
in thread Remove a role from a Moose object
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.
|
---|