[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[JDEV] XML::Parser Part II



	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!"