Skip Menu |

This queue is for tickets about the Net-Stomp CPAN distribution.

Report information
The Basics
Id: 67160
Status: resolved
Priority: 0/
Queue: Net-Stomp

People
Owner: Nobody in particular
Requestors: sjf4 [...] uw.edu
Cc:
AdminCc:

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



Subject: IO::Socket::INET/SSL Error Variables
Date: Fri, 1 Apr 2011 15:00:06 -0700
To: "bug-Net-Stomp [...] rt.cpan.org" <bug-Net-Stomp [...] rt.cpan.org>
From: Stephen Fralich <sjf4 [...] uw.edu>
On line 95 of Stomp.pm you're using the wrong variable to return a helpful error from IO::Socket::INET. You need to use $@ in place of $!. For IO::Socket::SSL it appears you need IO::Socket::SSL::errstr(). Stephen
Fixed in v0.41 that just got released to CPAN