DOKK / manpages / debian 10 / rex / Rex::Commands::MD5.3pm.en
Rex::Commands::MD5(3pm) User Contributed Perl Documentation Rex::Commands::MD5(3pm)

Rex::Commands::MD5 - Calculate MD5 sum of files

With this module you calculate the md5 sum of a file.

This is just a helper function and will not be reported.

 my $md5 = md5($file);

This function will return the MD5 checksum (hexadecimal) for the given file.

 task "md5", "server01", sub {
   my $md5 = md5("/etc/passwd");
 };
2018-02-01 perl v5.26.1