Re: Creating an entry to add or modify values

2009-05-14 Thread Peter Marschall
Hi Dmitry, On Thursday, 14. May 2009, Dmitry Katsubo wrote: > So, if one want the entry to be OK both for adding and for replacing do > the following: What do you mean exactly by "one entry both for adding and replacing" ? Do you want to add/replace attributes in an existing entry ? Or do you wan

Re: Creating an entry to add or modify values

2009-05-14 Thread Dmitry Katsubo
Hi all! After some playing with the module I've found out, that the type of the entity should be defined _before_ you are going to add or replace something in it. That should be mentioned in Net::LDAP::Entry pod, I think. So, if you do: my $entry = Net::LDAP::Entry->new('DN'); $entry->add('givenN