Skip Menu |

This queue is for tickets about the Convert-BinHex CPAN distribution.

Report information
The Basics
Id: 124204
Status: new
Priority: 0/
Queue: Convert-BinHex

People
Owner: Nobody in particular
Requestors: dmacks [...] netspace.org
Cc:
AdminCc:

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



Subject: Mis-testing of <HANDLE> return-value
Date: Tue, 23 Jan 2018 23:59:20 -0500
To: <bug-Convert-BinHex [...] rt.cpan.org>
From: Daniel Macks <dmacks [...] netspace.org>
In Convert-BinHex-1.125, binhex.pl has several occurrences of: while ($_ = <USAGE> and ... that trigger a warning: Value of <HANDLE> construct can be "0"; test with defined() at /sw/bin/binhex.pl line 85. Value of <HANDLE> construct can be "0"; test with defined() at /sw/bin/binhex.pl line 85. It's correct in debinhex.pl lines 89 and 90: while (defined($_ = <USAGE>) and ... dan -- Daniel Macks dmacks@netspace.org