Skip Menu |

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

Report information
The Basics
Id: 32851
Status: new
Priority: 0/
Queue: XML-DOM-Lite

People
Owner: Nobody in particular
Requestors: adrian.schneider [...] ubs.com
Cc:
AdminCc:

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



Subject: Warnings on comparison with undef in NodeIterator.pm
Date: Fri, 1 Feb 2008 12:10:39 +0100
To: <bug-XML-DOM-Lite [...] rt.cpan.org>
From: <adrian.schneider [...] ubs.com>
concerning XML::DOM::Lite 0.15; perl 5.8.8; Cygwin This is not a real bug, rather a little nuisance. When warnings are enabled ("perl -w" or "use warnings;") the NodeIterator::nextNode function issues warnings like: "Use of uninitialized value in numeric eq (==) ...". Thus I replaced expressions like ($x == undef) with (! defined $x) in lines 38 and 62 of NodeIterator.pm which avoids these warnings. I did not check whether other modules are also touched by this issue. Regards Adrian Schneider