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