NAME
QualysGuard::Response - subclass of XML::XPath used to handle QualysGuard API XML responses
VERSION
Version 0.02
SYNOPSIS
use QualysGuard::Request;
$QualysGuard::Request::Username = "username";
$QualysGuard::Request::Password = "password";
my $qualys_request = QualysGuard::Request->new( 'map_report_list' );
# - provide map_report_list function arguments
$qualys_request->attributes({
'last' => 'yes',
'domain' => 'example.com',
});
my $qualys_response = $qualys_request->submit();
if ( $qualys_response->is_error() ) {
die $qualys_response->get_error();
}
$qualys_response->save_to( 'map_report_list.xml' );
...
DESCRIPTION
A subclass of XML::XPath.
This is a base abstract class that is used to define core methods and attributes shared across all QualysGuard::Response subclasses. Don't use this class directly.
PUBLIC INTERFACE
- is_error
-
Returns a 1 or 0 based on the results of the requested QualysGuard function.
- error_code
-
Returns the native QualysGuard API error code.
- get_error
-
Returns the QualysGuard API error code and error message returned by the QualysGuard function.
- save_to( FILENAME )
-
Saves out the XML response returned from the QualysGuard function.
AUTHOR
Patrick Devlin, <pdevlin at cpan.org>
BUGS
Please report any bugs or feature requests to bug-qualysguard-request at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=QualysGuard::Request. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc QualysGuard::Request
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=QualysGuard::Request
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
SEE ALSO
COPYRIGHT & LICENSE
Copyright 2008 Patrick Devlin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Qualys and the QualysGuard product are registered trademarks of Qualys, Inc.