NAME

Net::Plesk::Response - Plesk response object

SYNOPSIS

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
  #...
}

DESCRIPTION

The "Net::Plesk::Response" class represents Plesk responses.

BUGS

Needs better documentation.

SEE ALSO

Net::Plesk,

AUTHOR

Jeff Finucane <jeff@cmh.net>

COPYRIGHT AND LICENSE

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.