Net::Rexec - Perl extension for the client side of the REXEC protocol.
use Net::Rexec 'rexec'; ($rc, @output) = rexec(host, command, [userid, [password]]);
Invokes REXEC protocol to execute command on host using userid and password. If userid or password are omitted then they are retrieved from the netrc file. $rc is 0 if command was invoked on host, 1 otherwise unless the fork to invoke command fails in which case it is 2. Output is put into @output.
Fila Kolodny <fila@ibi.com>.
Net::Netrc(3pm).
To install Net::Rexec, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Rexec
CPAN shell
perl -MCPAN -e shell install Net::Rexec
For more information on module installation, please visit the detailed CPAN module installation guide.