Date: | Tue, 16 Nov 2004 22:12:55 +0100 |
From: | Karl Gaissmaier <karl.gaissmaier [...] kiz.uni-ulm.de> |
To: | bug-Mail-IMAPClient [...] rt.cpan.org |
Subject: | Mail::IMAPClient, new(), Socket and select() problem |
Hi,
I think I found a bug in your nice and useful module:
Versions (but that doesn't matter here, believe me):
====================================================
mizar$ perl -v
This is perl, v5.8.5 built for sun4-solaris
...
mizar$ perl -MMail::IMAPClient -e 'print "$Mail::IMAPClient::VERSION\n"'
2.2.9
mizar$ uname -a
SunOS mizar 5.9 Generic_112233-11 sun4u sparc
SUNW,UltraSPARC-IIi-cEngine Solaris
Problem description:
====================
I will use Mail::IMAPClient via SSL sockets and therefore
I've to set the parameter 'Socket' in the new() method.
The bug is, that the $self->{_select} slot isn't set
via new(), it's only set with an accessor call
$self->Socket($sock) after the object creation.
Best Regards
Charly
--
Karl Gaissmaier KIZ/Infrastructure, University of Ulm, Germany
Email:karl.gaissmaier@kiz.uni-ulm.de Service Group Network