Subject: | Bug in array name for Parser.pm |
Date: | Fri, 8 Apr 2011 08:18:50 -0500 |
To: | "'bug-XML-CAP [...] rt.cpan.org'" <bug-XML-CAP [...] rt.cpan.org> |
From: | "Johnson, Stephen" <stephen.johnson [...] tdstelecom.com> |
[[ Symptom of the Bug]]
Global symbol "@xp_nodes" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/XML/CAP/Parser.pm line 99.
Compilation failed in require at ./capExample.pl line 4.
BEGIN failed--compilation aborted at ./capExample.pl line 4.
[[Fix]]
File: /usr/lib/perl5/site_perl/5.8.8/XML/CAP/Parser.pm
Bug----> Line 99 had the trailing '1' for the array name
98 if ( @xp_nodes1 ) {
99 $self->{nodes} = \@xp_nodes1;
100 }