From: Chris B. <bri...@po...> - 2001-01-18 21:34:03
|
On 2001-01-18, "Brian O'Neill" <on...@oi...> wrote: > On Wed, 17 Jan 2001, Mark Wilcox wrote: > > > if you delete with a specific value then it will delete that > > particular value. If you do a replace and only give a single > > value, it will replace all of the values with that value. > > The delete() method does not appear to accept a value, only an > attribute (or attributes). Attempting to specify one results in > an execution error: You have to give it an array reference to delete a particular value. If I remember correctly this is undocumented, I had to look at the source to find out you could do this: ,----[ Delete a specific attribute ] | $ldap_entry->delete($attr => [$value]) `---- |