From: Brian O'N. <on...@oi...> - 2001-01-19 15:33:29
|
Thanks...this is exactly what was needed... -Brian On 18 Jan 2001, Chris Brierley wrote: > 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]) > `---- > > -- ====================================================================== Brian O'Neill @ home on...@oi... At work I'm: on...@co... |