[Catalyst] C:P:A:Store::LDAP start_tls problems

Nilson Santos Figueiredo Junior acid06 at gmail.com
Thu Mar 30 00:49:07 CEST 2006


On 3/29/06, Scott Karns <scottkinsf at yahoo.com> wrote:
> I haven't banged on it very hard yet, but I believe I
> got it. The problem is the fileno method of
> IO::Socket::SSL. It seems it should test for defined,
> since a value of 0, while defined doesn't evaluate to
> true. Patch attached.

I'm glad you nailed your problem.
I think you should mail this patch to the module's author. According
to the docs, the current maitainer is:

Peter Behroozi, <behrooz at fas.harvard.edu> (Note the lack of an "i"
at the end of "behrooz").

I, myself, never thought a fileno of 0 would be valid in
IO::Socket::SSL since it's the fileno of STDIN. So I guess it's a
forgivable bug. ;-)

perl -e "print fileno(STDIN)"

-Nilson Santos F. Jr.



More information about the Catalyst mailing list