Subject: | warning about uninitialized value if using upload hook |
Fix:
*** CGI.pm.orig Fri Aug 24 15:35:49 2007
--- CGI.pm Fri Aug 24 15:36:43 2007
***************
*** 3381,3387 ****
my ($data);
local($\) = '';
! my $totalbytes;
while (defined($data = $buffer->read)) {
if (defined $self->{'.upload_hook'})
{
--- 3381,3387 ----
my ($data);
local($\) = '';
! my $totalbytes=0;
while (defined($data = $buffer->read)) {
if (defined $self->{'.upload_hook'})
{