Class::Workflow::State::Simple - A useful class (or base class) for writing states.
use Class::Workflow::State::Simple; my $state = Class::Workflow::State::Simple->new( name => "foo", transitions => [ $tn ], # objects );
A string that can be used to identify the state to a factory object like Class::Workflow.
see Class::Workflow::State::AutoApply.
This class consumes the following roles:
Class::Workflow::State::TransitionSet
Class::Workflow::State::AcceptHooks
To install Class::Workflow, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::Workflow
CPAN shell
perl -MCPAN -e shell install Class::Workflow
For more information on module installation, please visit the detailed CPAN module installation guide.