Skip Menu |
 

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

Report information
The Basics
Id: 83870
Status: new
Priority: 0/
Queue: XML-Filter-BufferText

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

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



Subject: Use of uninitialized value warning on line 18
Download (untitled) / with headers
text/plain 485b
The characters function attempts to append text to an undefined value ($_[0]->{_CharBuffer}) the first time the characters method is called. Although XML::Filter::BufferText does not use warnings, running under perl -w or prove -w will still cause perl to scream bloody murder, in my case 440 times. Since we're guaranteed that start_document will be called before characters, you probably just want to move the line "$self->{_CharBuffer} = '';" out of and right below the if.


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.