Subject: | warning from encoding.t during make test |
Module: XML-Parser-2.34
Perl: 5.8.8
OS: OpenBSD 3.9
I get the following from make test on XML::Parser:
t/encoding........"my" variable $p masks earlier declaration in same scope at t/encoding.t line
94.
t/encoding........ok
Which caught my eye and gave me some concern for a moment.
The following patches it:
94c94
< my $p = new XML::Parser(Handlers => {Start => \&get_attr});
---
Show quoted text
> $p = new XML::Parser(Handlers => {Start => \&get_attr});