Counterpart of InactiveDestroy in Net::LDAP?

Dirk Heuvels <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
Hello,

I use Net::LDAP within a daemon that forks, after Net::LDAP is
connected. The intention is, to be able to return an error code on
startup if the connection fails and only daemonize, if the connection
comes up.
Unfortunately as parent and client process will have a clone of the same
connection handle after fork(), the parent process (the one that returns
to the shell) will tear down the connection on exit. With DBI I always
avoided this behavior by setting the InactiveDestroy property to 1.

Does Net::LDAP have a mechanism comparable to InactiveDestroy?

Thanks in advance,
Dirk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.