in reply to Multiple values per attribute from a Net::LDAP query?
Unfortunately, there's little to do but read everything that can hold more than one value into an array. Ack. If anyone knows an elegant way to determine whether an attribute *can* hold multiple values (it looks as if they all may, at least potentially), I'm all ears.get_value ( ATTR [, OPTIONS ] ) Get the values for the attribute ATTR. In a list context returns all values for the given attribute, or the empty list if the attribute does not exist. In a scalar context returns the first value for the attribute or undef if the attribute does not exist. The return value may be changed by OPTIONS, which is a list of name => value pairs, valid options are :-
--TQuid
|
|---|