in reply to Multiple values per attribute from a Net::LDAP query?
You're calling get_value in a scalar context! Stop that.get_value ( ATTR [, OPTIONS ] ) Get the values for the attribute ATTR. In a list con- text 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.
You're also calling printf with a variable number of arguments. That won't work very well until you change the format string.
-- Randal L. Schwartz, Perl hacker
|
|---|