swestrup: (Default)
2003-06-04 03:41 pm

Yoiks! and Away!

AHA!!!!

The incantation is:

my $p = new XML::Parser(Style => 'tree')

and NOT

my $p = new XML::Parser(Style => 'Tree')

as the docs would have one believe! So, that took MUCH longer than it should have, but now I have an XML parser.


Now updated to correct typos.
swestrup: (Default)
2003-06-03 04:06 pm

Fnoorg!

So, this time [livejournal.com profile] _sps_ was NOT exactly correct, and he needs to apologize. I asked him to write a little XML parser for me on the weekend, and he threw something together from the XML::Parser Perl library I had, saw that it produced nothing, and told me that my library or interface to it was broken. I've now download and tested half-a-dozen examples of uses of this exact same library, and they work as advertised.

So, now I'm gonna have to read the docs and find out why the library didn't work as expected, and will have to do the work myself. Harrumph!

But at least I get to feel smug about catching [livejournal.com profile] _sps_ in an overt error. I don't get to do that very often.