Subject: | Net::LDAP and IO::Socket::INET6 don't cooperate in strawberry perl |
Sorry I'm unable to establish if this is a bug in Net::LDAP or in IO::Socket::INET6.
Previously working simple LDAP (precisely: Net::LDAP::Express) lookup script doesn't work anymore since updating to an newer Strawberry Perl. Error is "Bad file descriptor". It has been suggested in several places to remove or rename INET6.pm, and indeed this fixes the problem. References:
https://rt.cpan.org/Public/Bug/Display.html?id=83967
http://forums.otterhub.org/viewtopic.php?f=81&t=22849 (which includes a reference to http://bugs.otrs.org/show_bug.cgi?id=10004)
Code to reproduce "Bad file descriptor" message is e.g. first half of Net::LDAP Synopsis.