Hi, thanks for the report.
As one of the upstream authors I have committed a patch to perl-ldap's SVN repo based on your code. (It's even shorter ;-) CU Peter -- Peter Marschall eMail: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]