Janus::Sequence
use Janus::Sequence; my $seq = Janus::Sequence->new ( name => 'alpha', conf => '/conf/file', code => '/code/file' ); $seq->run( ctrl => sub { .. }, cache => {}, batch => [ .. ], .. );
See Janus::Sequence::Code.
See Janus::Sequence::Conf.
Default value in ().
timeout : ( 0 = no timeout ) seconds allotted for a stage to run. retry : ( 0 ) number of retries when error occurs. redo : ( 0 ) number of redoes after a stage is released from error.
Loads code then conf. Returns invoking object.
Loads code file. Returns invoking object.
Loads conf file. Returns invoking object.
Runs sequence. Returns invoking object. In addition to default paramaters, the following may also be defined in %param.
log : code that deals with logging. stuck : code that deals with stuck logic. exclude : code that deals with exclusion. batch : code required by PLUGIN. cache : a HASH reference, for passing context. alarm : SIGALRM handler.
a CODE reference, which can expect the following parameters:
log : a CODE reference. param : if any, loaded from config. batch : if defined, loaded from run() parameter. cache : a HASH reference, that may be loaded from run() parameter.
To install pantheon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm pantheon
CPAN shell
perl -MCPAN -e shell install pantheon
For more information on module installation, please visit the detailed CPAN module installation guide.