Re: [Net::LDAP] I cannot list multiple values for the same attribute
Chris Ridd <[email protected]> Thu, 11 Aug 2011 18:58:59 +0100
| Newsgroups | gmane.comp.lang.perl.modules.ldap |
|---|---|
| Message-ID | <[email protected]> |
On 11 Aug 2011, at 18:04, Mehmet wrote: > Peter, > > Thanks so much for your super-fast reply, which made me realize that > entry->get_value($attr) > returns a list which can be iterated :) When you call it in an array context it will return all the values, otherwise it will just return a single (ie scalar) value. Cheers, Chris