CC: | debian-perl [...] lists.debian.org |
Subject: | [patch] use of non-localised $_ in Net::LDAP::Constant causes prolems in lemonldap-ng |
Date: | Mon, 19 Apr 2010 23:39:27 +0300 |
To: | bug-perl-ldap [...] rt.cpan.org |
From: | Damyan Ivanov <dmn [...] debian.org> |
Hi,
[perl-ldap 0.4001; perl 5.10.1]
Please find attached a patch that fixes a problem when requiring
Net::LDAP in certain environments. The problem can be demonstrated by
running:
perl -we'require Net::LDAP for (1,2)'
Similar code is used in lemonldap-ng's test suite since a long time,
and with perl-ldap 0.4001, tests suddenly fail. There is a bug report
in Debian about this at http://bugs.debian.org/577340
I hope the patch is OK and you would incorporate it in a future
perl-ldap release.
Thanks.
Message body is not shown because sender requested not to inline it.