[JDEV] XML::Parser Part II

Thomas Charron tcharron at nermail.ups.com
Wed Apr 14 13:14:55 CDT 1999


	Wow, not only is it based on expat, but TAKE a look at THIS
functionality!!:

$p2 = new XML::Parser(Handlers => {Start => \&handle_start,
                                     End   => \&handle_end,
                                     Char  => \&handle_char});
$p2->parse($socket);

	Set up your handlers, open the socket, and let the sucker run, passing the
open socket to the parser!!

--
Thomas Charron
United Parcel Service
Northeast Region
"Moving at the speed of a T3 Trunk Line!"




More information about the JDev mailing list