I am having trouble adding multiple values to an attribute on the add. All
else is working fine.
I use the basic add method like the following example:
my $CreateArray = [
objectClass => [ "top", "person", "organizationalPerson",
"inetOrgPerson" ],
cn => "Jane User",
uid => "0000001",
sn => "User",
mail => "[EMAIL PROTECTED]"
];
my $result = $ldap->add ( $dn, attrs => [ @$whatToCreate ] );
---
However, how do I dynamically add multiple values to mail?
I have one to many mail addresses stored in an array: @mail.
Can anyone point me in the right direction?
Thanks.