Rex::Commands::Run
With this module you can run a command.
my $output = run "ls -l";
This function will execute the given command and returns the output.
task "uptime", "server01", sub { say run "uptime"; };
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.