GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Yahoo::Search::XML(3) User Contributed Perl Documentation Yahoo::Search::XML(3)

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

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.

Jeffrey Friedl Kyoto, Japan Feb 2005
2010-06-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.