On 10 Jun 2004, at 16:38, Peter Marschall wrote:
On Thursday 10 June 2004 17:14, Graham Barr wrote:
You cannot. If the $ldap object happens to be in async mode, the $mesg
object does not have the response code in it. trying to call
$mesg->code will for the operation to be sync'd
I may be mistaken, but I think with the actual code a user giving a
callback
option will prevent the entry's changetype from being set.
Yes. We probably need something like
my %opt = @_;
my $user_cb = delete $opt{callback};
my $cb = sub { ...; $user_cb->(@_) if $user_cb };
Then add %opt instead of @_ to the method calls
Shall I give it a try ?
Sure, I don't have time right now, thats why I put it in the mail :-)
Graham.