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
>
>