MYDan::Util::GrsyncM - Replicate data via phased agent
use MYDan::Util::GrsyncM; my $grsyncm = MYDan::Util::GrsyncM->new ( opt => +{ '3' => 1, 'dp' => '/tmp/path1', 'sp' => '/tmp/path2', 'retry' => 2, 'timeout' => 300, 'user' => 'root', 'gave' => 3 }, sync => +{ src => [], dst => [], agent => +{}, }, task => [ +{ sp => '', dp => '' }, +{ sp => '', dp => '' } ] #make by opt ); $grsyncm->run();
To install MYDan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MYDan
CPAN shell
perl -MCPAN -e shell install MYDan
For more information on module installation, please visit the detailed CPAN module installation guide.