Comrite Unix Man page/Perldoc/Info page, English-Chinese Dictionary, Chinese-English Dictionary

Yahoo::Search::XML--3pm

Command: man perldoc info search(apropos)  


 
Yahoo::Search::XML(3pmUser Contributed Perl DocumentatiYahoo::Search::XML(3pm)



NAME
       Yahoo::Search::XML -- Simple routines for parsing XML from Yahoo!
       Search.  (This package is included in, and automatically loaded by, the
       Yahoo::Search package.)

DESCRIPTION
       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 ver-
       sion 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, pro-
       ducing the same output 41 times faster, in my tests. That's the benefit
       of not having to handle everything, I guess.

AUTHOR
       Jeffrey Friedl <jfriedl AT yahoo.com> Kyoto, Japan Feb 2005



perl v5.8.7                       2005-03-31           Yahoo::Search::XML(3pm)
 

©2005 Comrite