Thanks guys.
Thanks, Praveen DC:*222-6758 Desk:1-518-612-6758 Cell:1-203-984-1871 Home:1-518-280-6342 -----Original Message----- From: Chris Ridd [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 2:28 AM To: Don C. Miller Cc: Tyagi, Praveen (GE, Corporate, consultant); Sweeny, Jonny; perl-ldap@perl.org Subject: Re: Can't locate object method "disconnect" via package "Net::LDAP" On 9 Jan 2008, at 22:45, Don C. Miller wrote: > Praveen, use these methods to destroy the object. > > undef($ldap); > $ldap = undef; Yep, alternatively letting the variable go out of scope (i.e. the { } you defined the variable in) should also work. Cheers, Chris