Skip Menu |

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

Report information
The Basics
Id: 2033
Status: resolved
Priority: 0/
Queue: Apache-Filter

People
Owner: Nobody in particular
Requestors: peter [...] semantico.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.019
Fixed in: 1.021



Subject: Uninitialized value
Apache::Filter 1.019 This is perl, v5.6.1 built for i686-linux Linux wasabi.rp.lan 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown Use of uninitialized value in length at /opt/projects/sitegroup/tandf/5.6.1/Apache/Filter.pm line 191. This seems to fix it... sub READLINE { # I've tried to emulate the behavior of real filehandles here # with respect to $/, but I might have screwed something up. # It's kind of a mess. Beautiful code is welcome. my $self = shift; my $debug = 0; warn "reading line from $self, content is $self->{'content'}" if $debug; return unless defined($self->{'content'}) and length $self->{'content'}; The fix is the defind() call
The latest version of Apache::Filter is 1.022 - this bug was fixed in version 1.021, so the solution is to upgrade. -Ken