On 29 Apr 2004, at 14:29, [EMAIL PROTECTED] wrote:
I'm playing with the callbacks, and decided to do a mass extinction on my
directory, by doing a "search and delete" operation.
So I try:
my $res=$ldap->search(callback=\&myCallback);
sub myCallback { my $mesg = shift; my $entry = shift;
$entry->delete; $entry->update($ldap);
What result do you get back here ?
Graham.
printf "%5d) Deleted (%s)\n", $count, $entry->dn; }
It kind of works, but it deletes only a part of the entries. :-(
