Hello All,
I know that we can add a role to an instance by using apply_all_roles (or
the meta).

Is it also possible to remove a role from an instance ?

What I want to do is something in the line of:

my $badguy = Zombie->new;

$badguy->eat_brain();

apply_all_roles($badguy, 'Strong');

# some time pass

remove_role($badguy, 'Strong');

Thanks In Advance,
  Ynon

Reply via email to