Ferenc Erki > Rex-0.55.3 > Rex::Commands::MD5

Download:
Rex-0.55.3.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.55.3   Source  

NAME ^

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

DESCRIPTION ^

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

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

SYNOPSIS ^

 my $md5 = md5($file);

EXPORTED FUNCTIONS ^

md5($file)

This function will return the md5 sum (hexadecimal) for the given file.

 task "md5", "server01", sub {
   my $md5 = md5("/etc/passwd");
 };
syntax highlighting: