in reply to Another problem with XML parser
Firstly, use strict and warnings. Perhaps some of your variables are not scoped properly.
Secondly, sprinkle print statements liberally throughout your code to make sure your variables contain what you expect them to contain. See also Basic debugging checklist.
At the state of the art, I can't change my parsing moduleIt would be a good idea to have a plan in place to retire XML::Parser in favor of a more user-friendly (in my opinion) and better supported parser, such as XML::Twig.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Another problem with XML parser
by Paulux (Acolyte) on Nov 10, 2009 at 14:07 UTC |