WWW::Splunk::XMLParser - Parse Splunk XML format
This is an utility module to deal with XML format ocassionally returned by Splunk and seemlingly undocumented.
Note that Splunk usually returns Atom XMLs, which have the same content type. They can be distinguished by a DOCTYPE.
Return a perl structure from a XML string, if it's parsable, otherwise return a raw XML::LibXML object
Parse a XML node tree recursively.
WWW::Splunk, WWW::Splunk::API, XML::LibXML
Lubomir Rintel, <lkundrak@v3.sk>, Michal Josef Špaček <skim@cpan.org>
The code is hosted on GitHub http://github.com/tupinek/perl-WWW-Splunk. Bug fixes and feature enhancements are always welcome.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WWW::Splunk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Splunk
CPAN shell
perl -MCPAN -e shell install WWW::Splunk
For more information on module installation, please visit the detailed CPAN module installation guide.