The close method does everything you need to do to tear down a connection.
Often you'll see it omitted though,
because the Mozilla::LDAP::Conn module defines a DESTROY method that will
do a close (if necessary) when the object goes out of scope.
Dave
Mark Reynolds wrote:
> Hello all,
>
> I've been having a hard time trying to find out how to close a
> connection properly in perldap.
>
> I have seen references to conn->close()
>
> Many examples do not even include this. Also should there be a unbind?
>
> Thanks in advance,
>
> Mark