On 10/10/03 12:03 pm, Marco Marongiu <[EMAIL PROTECTED]> wrote:
> About get_value, are you aware of its behaviour in scalar and list context?
> 
>       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.

In other words, if you want *all* the values of uniqueMember, call get_value
like this:

    my (@members) = $entry->get_value("uniqueMember");

Cheers,

Chris

Reply via email to