NAME

MojoX::Automata::State - State class for MojoX::Automata

DESCRIPTION

This is used internally, but a new instance is returned every time a new state is created.

METHODS

handler

Defines a new handler.

to

Defines a new transition.

next

Switches to the next state.

SEE ALSO

MojoX::Automata