Hi, I am struggling with perl, would like to know how to constuct a dynamic list of array for the add function?
$mesg = $ldap->add( $dn,
attrs => [
name => 'Graham Barr',
cn => 'value1',
sn => 'value2'
]
);
to something like :
$mesg = $ldap->add( $dn,
attrs => [ @MyArray
]
);
Many thanks,
Naruto.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
