Skip Menu |
 

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

Report information
The Basics
Id: 32678
Status: new
Priority: 0/
Queue: Apache-Filter

People
Owner: Nobody in particular
Requestors: cpan [...] djsf.com
Cc:
AdminCc:

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



Subject: "Use of uninitialized value" warning in READLINE if send_fd is used
Download (untitled) / with headers
text/plain 457b
Use of uninitialized value in length at /usr/local/perl5/lib/site_perl/5.8.8/Apache/Filter.pm line 197. replacing 'print while <$fd>' with 'local $/;print <$fd>;' supresses this warning: --- lib/Apache/Filter.pm.orig Sun Sep 25 07:02:52 2005 +++ lib/Apache/Filter.pm Sat Jan 26 19:36:43 2008 @@ -131,7 +131,8 @@ $self->SUPER::send_fd(@_); } else { my $fd = shift; - print while <$fd>; + local $/; + print <$fd>; } }


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.