Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: dekarl [...] spaetfruehstuecken.org
Cc:
AdminCc:

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



CC: xmltv-devel [...] lists.sourceforge.net
Subject: comparing 'self' eq $newOutput when $newOutput is undef
Date: Tue, 01 Apr 2014 21:04:53 +0200
To: bug-XML-Writer [...] rt.cpan.org
From: Karl Dietz <dekarl [...] spaetfruehstuecken.org>
Download (untitled) / with headers
text/plain 705b
Hi, our nightly xmltv-tester at http://www.crustynet.org.uk/~xmltv-tester/sid/nightly/ started reporting an error in XML::Writer some time ago. (Most grabber had their last successful test run on 2013-08-26.) Show quoted text
> Use of uninitialized value $newOutput in string eq at
/usr/share/perl5/XML/Writer.pm line 473. The line (looking it up on the master branch at github) is Show quoted text
> if ( !ref($newOutput) && 'self' eq $newOutput ) {
After looking into it and coming up with a hopeful band aid to unbreak our tester I think the issue was introduced in https://github.com/josephw/xml-writer-perl/commit/2848dd3853fdb668ef3b2bc2a6ce808f37776479 and can be fixed by testing if $newOutput is defined Regards, Karl
Download (untitled) / with headers
text/plain 407b
Hi there. On Tue Apr 01 15:06:22 2014, dekarl@spaetfruehstuecken.org wrote: ... Show quoted text
> > Use of uninitialized value $newOutput in string eq at
> /usr/share/perl5/XML/Writer.pm line 473. > > The line (looking it up on the master branch at github) is
> > if ( !ref($newOutput) && 'self' eq $newOutput ) {
Oops; the test was there to make sure this worked but it wasn't checking for warnings. Fixed in a5f9e8e4.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.