Web::Machine::FSM - The State Machine runner
version 0.08
use Web::Machine::FSM;
This is the heart of the Web::Machine, this is the thing which runs the state machine whose states are contained in the Web::Machine::FSM::States module.
new ( %params )
This accepts two %params, the first is a boolean to indicate if you should turn on tracing or not, and the second is optional name of the HTTP header in which to place the tracing information.
%params
tracing
Are we tracing or not?
tracing_header
Accessor for the HTTP header name to store tracing data in. This default to X-Web-Machine-Trace.
X-Web-Machine-Trace
run ( $resource )
Given a Web::Machine::Resource instance, this will execute the state machine.
Stevan Little <stevan.little@iinteractive.com>
This software is copyright (c) 2012 by Infinity Interactive, Inc..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Web::Machine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Web::Machine
CPAN shell
perl -MCPAN -e shell install Web::Machine
For more information on module installation, please visit the detailed CPAN module installation guide.