Skip Menu |

This queue is for tickets about the GPIB CPAN distribution.

Report information
The Basics
Id: 62235
Status: new
Priority: 0/
Queue: GPIB

People
Owner: Nobody in particular
Requestors: davidhsmith255 [...] gmail.com
Cc:
AdminCc:

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



Subject: Open statement needs parenthesis.
Date: Mon, 18 Oct 2010 09:35:43 -0400
To: bug-GPIB [...] rt.cpan.org
From: David Smith <davidhsmith255 [...] gmail.com>
On line 231 of GPIB.pm it says: open FD, "<$config_fname" || return; but should say: open (FD, "<$config_fname") || return; Without the parenthesis GPIB dies when the configuration file doesn't exist. I often use this module, including small executable (.exe) applications compiled with Par::Packer and don't use the configuration file at all. This error causes the executable to fail. David