1Rex::Commands::MD5(3) User Contributed Perl DocumentationRex::Commands::MD5(3)
2
3
4
6 Rex::Commands::MD5 - Calculate MD5 sum of files
7
9 With this module you calculate the md5 sum of a file.
10
11 This is just a helper function and will not be reported.
12
14 use Rex::Commands::MD5;
15 my $md5 = md5($file);
16
18 md5($file)
19 This function will return the MD5 checksum (hexadecimal) for the given
20 file.
21
22 task "checksum", "server01", sub {
23 say md5("/etc/passwd");
24 };
25
26
27
28perl v5.32.1 2021-03-06 Rex::Commands::MD5(3)