Rex::Commands::MD5 - Calculate MD5 sum of files
With this module you calculate the md5 sum of a file.
my $md5 = md5($file);
This function will return the md5 sum (hexadecimal) for the given file.
task "md5", "server01", sub { my $md5 = md5("/etc/passwd"); };
To install Rex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rex
CPAN shell
perl -MCPAN -e shell install Rex
For more information on module installation, please visit the detailed CPAN module installation guide.