SYNOPSIS

use MYDan::Util::Phasic;

my $phase = MYDan::Util::Phasic->new
(
    src => \@src, dst => \@dst, quiesce => [],
    code => sub { .. }, weight => sub { return int .. }
);

$phase->run
( 
    retry => 3, timeout => 100, log => $handle, param => { .. },
);

METHODS

run( %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.