in reply to (XML::Parser) Finding and fixing a bug
I'm still struggling to understand what the original (buggy) code was trying to achieve. Was it to enable something like this to actually work:
use XML::Parser; open CONFIG, ('config.xml') || die $!; my $parser = XML::Parser->new(Style => 'Tree'); my $config = $parser->parse('CONFIG');
If so, that doesn't seem to work even using the unpatched version of the module. Can anyone give a working example of providing a symbol name to the parse method? If the original code does not actually work as intended, then a patched version wouldn't need to worry about backwards compatibility.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (XML::Parser) Finding and fixing a bug
by Juerd (Abbot) on Apr 21, 2003 at 23:19 UTC |