hie
this is my problem
I try updated ldap with perldap
$value1 = "cat";
$value2 = "dog";
$entry->{animals} = [$value1,$value2];
$conn->update($entry);
all goes great, but if I do like this:
$value = "cat,dog";
$entry->{animals} = [$value];
$conn->update($entry);
it dont work any more, where is the difference
between thesen two lines
if I print them out
@keylist = keys(%$entry);
foreach $key (@keylist)
{
@values = $entry->getValues("$key");
print "$key: ";
foreach $val (@values)
{
print "$val<br>";
}
print "<br><br>";
}
first example I get
animals: cat
dog
but second example
animals: cat,dog
Thanks for help
Rami Huhtala