Hi,
I am building a script to modify my LDAP directory and I want to use
something like:
$mesg = $ldap->modify( $dn,
replace => {
description => 'New List of members',
seeAlso => 'Some reference'
}
);
But I would like to build the list of replacements dynamically, that is,
have a variable of the appropriate type, where I can first store
"description" and "New List of members" then also store "seeAlso" and
"Some reference"; and then only use that variable to do the replace.
I have two questions:
- What type should I use for the variable?
- What will be the syntax for the $ldap->modify statement?
Thanks in advance,
Olivier
--
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/