The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Class::Workflow::State::Simple - A useful class (or base class) for writing states.

SYNOPSIS

my $state = Class::Workflow::State::Simple->new(
name => "foo",
transitions => [ $tn ], # objects
);

DESCRIPTION

FIELDS

name

A string that can be used to identify the state to a factory object like Class::Workflow.

auto_transition

see Class::Workflow::State::AutoApply.

ROLES

This class consumes the following roles: