Skip Menu |

This queue is for tickets about the Mail-IMAPClient CPAN distribution.

Report information
The Basics
Id: 38689
Status: resolved
Priority: 0/
Queue: Mail-IMAPClient

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

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



Subject: Improperly scoped variable causes non-unix socket connections to fail
Date: Sat, 23 Aug 2008 15:54:28 -0400
To: bug-Mail-IMAPClient [...] rt.cpan.org
From: "Matt Moen" <matt.moen [...] gmail.com>
On line 256, creating the INET socket is scoped for the else block, which means the following unless always fails: @@ -253,7 +253,7 @@ } else { $self->_debug("Connecting to $server port $port"); - my $sock = IO::Socket::INET->new + $sock = IO::Socket::INET->new ( PeerAddr => $server , PeerPort => $port , Proto => 'tcp' Thanks, Matt
Subject: Re: [rt.cpan.org #38689] AutoReply: Improperly scoped variable causes non-unix socket connections to fail
Date: Sat, 23 Aug 2008 16:01:15 -0400
To: bug-Mail-IMAPClient [...] rt.cpan.org
From: "Matt Moen" <matt.moen [...] gmail.com>
Just to clarify, that's in the file IMAPClient.pm On Sat, Aug 23, 2008 at 3:55 PM, Bugs in Mail-IMAPClient via RT < bug-Mail-IMAPClient@rt.cpan.org> wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Improperly scoped variable causes non-unix socket connections to > fail", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #38689]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=38689 > > Please include the string: > > [rt.cpan.org #38689] > > in the subject line of all future correspondence about this issue. To do > so, > you may reply to this message. > > Thank you, > bug-Mail-IMAPClient@rt.cpan.org > > ------------------------------------------------------------------------- > On line 256, creating the INET socket is scoped for the else block, which > means the following unless always fails: > > > @@ -253,7 +253,7 @@ > } > else > { $self->_debug("Connecting to $server port $port"); > - my $sock = IO::Socket::INET->new > + $sock = IO::Socket::INET->new > ( PeerAddr => $server > , PeerPort => $port > , Proto => 'tcp' > > > Thanks, > Matt > >
Subject: Re: [rt.cpan.org #38689] Improperly scoped variable causes non-unix socket connections to fail
Date: Sun, 24 Aug 2008 21:28:28 +0200
To: Matt Moen via RT <bug-Mail-IMAPClient [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* Matt Moen via RT (bug-Mail-IMAPClient@rt.cpan.org) [080823 19:55]: Show quoted text
> Sat Aug 23 15:55:04 2008: Request 38689 was acted upon. > Transaction: Ticket created by matt.moen@gmail.com > Queue: Mail-IMAPClient > Subject: Improperly scoped variable causes non-unix socket connections to fail > > On line 256, creating the INET socket is scoped for the else block, which > means the following unless always fails:
Bug was introduced in 3.09, fixed in 3.10 which I have released immediately. -- Thanks for the report, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Fixed in 3.10