On 20/7/05 4:52, Scott Ryan <[EMAIL PROTECTED]> wrote:

> Hi List, I am using Net::LDAP and i am trying to return an attribute in a dn
> that has multiple values. When I do the search and use $entry->get_value(
> $attr ) it only returns the one value. Is there a way returning multiple
> attribute values?

If you call it in an array context, it'll return an array of values.

    my (@v) = $entry->get_value("objectClass");

Cheers,

Chris


Reply via email to