Skip Menu |

This queue is for tickets about the Device-Modem CPAN distribution.

Report information
The Basics
Id: 68504
Status: resolved
Priority: 0/
Queue: Device-Modem

People
Owner: Nobody in particular
Requestors: wilson [...] xyber.ph
Cc:
AdminCc:

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



Subject: Device::Modem-1.53 patch
Date: Fri, 27 May 2011 19:05:45 +0800
To: bug-Device-Modem [...] rt.cpan.org
From: Wilson Santos <wilson [...] xyber.ph>
Hi, Device::Modem issues a warning when checking if the port is disconnected, which makes debugging difficult. Attached is a patch to Modem.pm that first checks if the variable is defined to eliminate the unnecessary warning. Nice work on the module. thanks! 560c560 < if (defined $self->{'CONNECTED'} && $self->{'CONNECTED'} == 1 && # We were connected --- Show quoted text
> if ($self->{'CONNECTED'} == 1 && # We were connected
--

Message body is not shown because sender requested not to inline it.

Should be fixed in 1.54, soon out on CPAN. Thanks!