Re: Caching Net::LDAP connections

2000-06-26 Thread Rob Tanner
Slightly off topic, but the subject line reminds me. I tried building Net::LDAP and perLDAP using Perl 5.6 and neither would build. The compile could not resolve sv_undef and one other variable that slips my mind at the moment. I downgraded to Perl 5.004_05 and everything build honky-dory.

Re: Caching Net::LDAP connections

2000-06-23 Thread Perrin Harkins
On Fri, 23 Jun 2000, Yann Ramin wrote: > I've been using Net::LDAP in a mod_perl/Apache server for awhile and I > have a question. What would I need to do to cache the Net::LDAP > handler/connection, like Apache::DBI? You could start with something like this: use vars qw($ldap); $ldap ||= Net:

Caching Net::LDAP connections

2000-06-23 Thread Yann Ramin
Hi, I've been using Net::LDAP in a mod_perl/Apache server for awhile and I have a question. What would I need to do to cache the Net::LDAP handler/connection, like Apache::DBI? Net::LDAP is not something I would consider "blazingly fast," and opening a new LDAP connection and binding on a pagel