From: Simon A. <sim...@st...> - 2001-05-31 22:26:30
|
> Entry will not be defined on the last call, so make sure you check it is defined. > Also to save memoery you need to tell Net::LDAP to remove it from the list. > > sub check_oracle { > my ($mesg, $entry) = @_; > > if ($entry and $entry->isa('Net::LDAP::Entry')) { > $entry->dump(); > $mesg->pop_entry; > } > } > > Graham. Thanks heaps for that Graham. It works wonders :-) Simon Allard (Senior Tool Monkey) IHUG Ph (09) 358-5067 Email: sim...@st... The real fighting men and women of the 21st century will continue to be techo's backed up by the grunts with bad haircuts and rifles. |