Yahoo::Search::XML 1.7.10 review
DownloadYahoo::Search::XML is a Perl module with simple routines for parsing XML from Yahoo! Search. The XML sent back from Yahoo! is fair
|
|
Yahoo::Search::XML is a Perl module with simple routines for parsing XML from Yahoo! Search.
The XML sent back from Yahoo! is fairly simple, and is guaranteed to be well formed, so we really don't need much more than to make the data easily available. I'd like to use XML::Simple, but it uses XML::Parser, which suffers from crippling memory leaks (in one test, 36k was lost with each parsing of a 7k xml file), so I've rolled my own simple version that might be called, uh, XML::SuperDuperSimple.
The end result is identical to what XML::Simple would produce, at least for the XML the Yahoo! sends back. It may well be useful for other things that use a similarly small subset of XML notation.
This package is also much faster than XML::Simple / XML::Parser, producing the same output 41 times faster, in my tests. That's the benefit of not having to handle everything, I guess.
Requirements:
Perl
Yahoo::Search::XML 1.7.10 search tags