On Nov 13, 2009, at 11:57 AM, Kartik Subbarao wrote: > I downloaded the next branch and tried this, but the code seems to hang > indefinitely (the debugger complains about 99 levels deep in subroutine > calls, probably some infinite recursion). > > Here's the code that I'm using: > > use Net::LDAP; > use Net::LDAPI; > use Authen::SASL; > > $ldap = Net::LDAP->new('ldapi://'); > $sasl = Authen::SASL->new(mechanism => 'EXTERNAL'); > $sasl_client = $sasl->client_new('ldap', 'localhost'); > $ldap->bind(undef, sasl => $sasl_client);
I do not think the passing of client_new causes this, so perhaps there is a different issue at hand. Do you know where the recursion is happening ? Graham.