Re: getting multi-valued attribute?

Bruce Johnson <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
On Dec 19, 2009, at 8:14 AM, Phil Lembo wrote:

> You have to call the attribute in an array context, like this
>
> @values = $entry->get_value('attributename');
>
> where 'attributename', is the name of a multi-valued attribute, like
> 'telephonenumber'.

Thanks!

-- 
Bruce Johnson

"Wherever you go, there you are" B. Banzai,  PhD
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.