Net::Plesk::Response - Plesk response object
my $response = $plesk->some_method( $and, $args ); if ( $response->is_success ) { my $id = $response->id; #... } else { my $error = $response->error; #error code my $errortext = $response->errortext; #error message #... }
The "Net::Plesk::Response" class represents Plesk responses.
Needs better documentation.
Net::Plesk,
Jeff Finucane <jeff@cmh.net>
Copyright (C) 2006 Jeff Finucane
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::Plesk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Plesk
CPAN shell
perl -MCPAN -e shell install Net::Plesk
For more information on module installation, please visit the detailed CPAN module installation guide.