Skip Menu |

This queue is for tickets about the XML-Writer CPAN distribution.

Report information
The Basics
Id: 3299
Status: resolved
Priority: 0/
Queue: XML-Writer

People
Owner: Nobody in particular
Requestors: kclark [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.4
Fixed in: (no value)



Subject: Use of uninitialized value in string eq at ..XML/Writer.pm line 738.
While using XML::Writer 0.04 with Perl 5.8.0 on Linux, I get the following warning: Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.0/XML/Writer.pm line 739. I've attached a patch that quiets this warning. ky
*** Writer.pm.orig Wed Aug 20 12:20:48 2003 --- Writer.pm Wed Aug 20 12:22:11 2003 *************** *** 665,671 **** %prefixMap = (%{$params{PREFIX_MAP}}); delete $params{PREFIX_MAP}; } ! my $defaultPrefix = $prefixMap{''}; delete $prefixMap{''}; # Generate the reverse map for URIs --- 665,671 ---- %prefixMap = (%{$params{PREFIX_MAP}}); delete $params{PREFIX_MAP}; } ! my $defaultPrefix = $prefixMap{''} || ''; delete $prefixMap{''}; # Generate the reverse map for URIs
Thanks, this is fixed in 0.500.