Skip Menu |

This queue is for tickets about the CGI-Upload CPAN distribution.

Report information
The Basics
Id: 5823
Status: resolved
Worked: 1.7 hours (100 min)
Priority: 0/
Queue: CGI-Upload

People
Owner: SZABGAB [...] cpan.org
Requestors: mark [...] summersault.com
Cc:
AdminCc:

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



Subject: binmode is always turned on
$binmode is defined to a code ref. So this will always return true, because as a scalar, $binmode will be set to something like: CODE(0x811f318) The fix is to replace this line: binmode( $fh ) if $binmode; With this: binmode( $fh ) if $binmode->(); That will force the $binmode subroutine to actually be called and return a value.
From: gabor [...] pti.co.il
I have uploaded 1.06 that should solve this problem.