1Rex::Commands::MD5(3) User Contributed Perl DocumentationRex::Commands::MD5(3)
2
3
4

NAME

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

DESCRIPTION

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

SYNOPSIS

14        use Rex::Commands::MD5;
15        my $md5 = md5($file);
16

EXPORTED FUNCTIONS

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.38.0                      2023-08-07             Rex::Commands::MD5(3)
Impressum