Thank you Graham, On Thu, Dec 4, 2008 at 4:32 PM, Graham Barr <[EMAIL PROTECTED]> wrote: > On Dec 4, 2008, at 8:33 AM, Alexander Farber wrote: >> >> $mod = $ldap->modify($entry, >> control => [ { type => >> LDAP_SERVER_PERMISSIVE_MODIFY_OID, >> critical => 1 } ], >> replace => { >> homePhone => $href->{HOME}, >> mobile => $href->{MOBILE}, >> facsimileTelephoneNumber => $href->{FAX} }); >> >> hasn't helped (output attached)
> Have you tried deleting the fields instead of setting them to '', ie > homePhone => $href->{HOME} || [], using [] instead of undef has worked: $phones{$filter} = {HOME => $home || [], MOBILE => $mobile || [], FAX => $fax || []}; even without the "control" option above Regards Alex