http://www.perlmonks.org?node_id=1036411


in reply to Re^7: a State machine with Roles - possible? (class or instance)
in thread a State machine with Roles - possible?

And that's where Class::StateMachine::Declarative shines: it's concise, and makes it easy for humans to apprehend the whole transitions set.

I realise now that objects, if they have several attributes, ARE multidimensional state machines anyway. My question was thus mostly about whether it is possible to unapply a Role; thinking that it could be useful some day.

Just one last quesiton: Is it possible to use Class::StateMachine in a Role?