use Vulcan::Phasic; my $phase = Vulcan::Phasic->new ( src => \@src, dst => \@dst, quiesce => [], code => sub { .. }, weight => sub { return int .. } ); $phase->run ( retry => 3, timeout => 100, log => $handle, param => { .. }, );
The following parameters may be defined in %param.
timeout : ( default 0 = no timeout ) number of retries. retry : ( default 0 = no retry ) number of retries. log : ( default STDERR ) file handle for logging.
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.