Re: [Net::LDAP] I cannot list multiple values for the same attribute

2011-08-11 Thread Chris Ridd
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 sing

Re: [Net::LDAP] I cannot list multiple values for the same attribute

2011-08-11 Thread Mehmet
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 :) This definitely did the trick. -Mehmet On Thu, Aug 11, 2011 at 12:42 PM, Peter Karman wrote: > Mehmet wrote on 08/11/2011 10:54 AM: > > Hi everyone, >

Re: [Net::LDAP] I cannot list multiple values for the same attribute

2011-08-11 Thread Peter Karman
Mehmet wrote on 08/11/2011 10:54 AM: > Hi everyone, > > I am new to perl-ldap and like it very much, however I have a problem I > cannot solve by myself (or using google). > > I have some attributes with multiple values in the same entry, such as: > > description: abc > description: def > descri