in reply to Re^2: Remove a role from a Moose object
in thread Remove a role from a Moose object

Maybe think of all classes as unconfigurable and only enable it for those cases where it needs to be configurable?

I would look at this as having two classes and transferring the data from the ::Configurable class into the ::Unconfigurable class. The ::Unconfigurable class could be the naked Host package, and the Host::Configurable class could be Host with Configurable.

Replies are listed 'Best First'.
Re^4: Remove a role from a Moose object
by balachandran (Novice) on Nov 07, 2016 at 18:05 UTC
    Thanks, I can try this approach. It needs a bit of changes to other related code. So, I'll go with this if I am not able to figure out other ways of achieving this. Thanks