SSH::RPC::Result - Provides methods for the response from a SSH::RPC::Client run() method request.
version 1.204
This module is never used directly by you. Instead you'll ge a reference to this object as it's created by SSH::RPC::Client.
The following methods are accessible from this class.
Returns the human readable error message (if any).
Returns the return value(s) from the RPC, whether that be a scalar value, or a hash reference or array reference.
Returns the $VERSION from the shell. This is useful if you have different versions of your shell running on different machines, and you need to do something differently to account for that.
Returns a status code for the RPC. The built in status codes are:
200 - Success. 400 - Malform request received by shell. 405 - RPC called a method that doesn't exist. 406 - Error transmitting RPC. 408 - Connection error. 500 - An undefined error occured in the shell. 510 - Error translating return document in client. 511 - Error translating return document in shell.
Returns true if the request was successful, or false if it wasn't.
Constructor.
Result hash ref data structure generated by SSH::RPC::Client.
This package requires the following modules:
Class::InsideOut
JT Smith <jt_at_plainblack_com>
------------------------------------------------------------------- SSH::RPC::Result is Copyright 2008-2009 Plain Black Corporation and is licensed under the same terms as Perl itself. ------------------------------------------------------------------- http://www.plainblack.com info@plainblack.com -------------------------------------------------------------------
To install SSH::RPC::Shell, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SSH::RPC::Shell
CPAN shell
perl -MCPAN -e shell install SSH::RPC::Shell
For more information on module installation, please visit the detailed CPAN module installation guide.