From: Graham B. <gb...@po...> - 2001-05-31 13:16:48
|
On Thu, May 31, 2001 at 08:12:39AM -0500, Clif Harden wrote: > > > > 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. > > > > > > Graham, > > We need to document entry->dump method. > I do not see it listed in the online documentation. It needs to be fixed first to use Net::LDAP::LDIF > The mesg->pop_entry method probably needs to be listed in the > Message documentation too, I could currently only find it in the > Seach documentation. No, Net::LDAP::Search is the right place. It is not a method in Net::LDAP::Message. Net::LDAP::Search is a sub-class of Net::LDAP::Message that is returned by ->search. It is here that the pop_entry method is defined. Graham. > > This info will probably be put into the FAQ in a new callback section. > > Regards, > > Clif Harden > |