Net::Rexec - Perl extension for the client side of the REXEC protocol.


Net-Rexec documentation  | view source Contained in the Net-Rexec distribution.

Index


NAME

Top

Net::Rexec - Perl extension for the client side of the REXEC protocol.

SYNOPSIS

Top

  use Net::Rexec 'rexec';
  ($rc, @output) = rexec(host, command, [userid, [password]]); 




DESCRIPTION

Top

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.

AUTHOR

Top

Fila Kolodny <fila@ibi.com>.

SEE ALSO

Top

Net::Netrc(3pm).


Net-Rexec documentation  | view source Contained in the Net-Rexec distribution.