Am 08.06.2004 um 18:29 Uhr haben Sie geschrieben: 
> On 8 Jun 2004, at 16:56, [EMAIL PROTECTED] wrote: 
> > I\'d like to start with a code() method that tries to mimic 
the 
>> Net::LDAP one and 
>I assume you mean better error handling ? 
My first goal is having a code() method in Net::LDAP::LDIF. 
 
> > I\'d like to extend the 
> > Net::LDAP::Entry->update() method so that it takes a 
> > Net::LDAP::LDIF object as an argument. The latter one 
> > requires a bit of work in Net::LDAP::LDIF to make it 
> > correct. 
> Not sure about this one. ::LDIF returns ::Entry objects,  
> so I do not understand why you want to pass it to a single 
> entry object. Or did you mean extend Net::LDAP->update ? 
 
Sorry about being unclear. It is about writing, not about 
reading. 
Today you can update an entry on a server using 
   $entry->update($ldap); 
where $entry is a Net::LDAP::Entry object and $ldap is a 
Net::LDAP object. 
I want to extend this method so that you can pass it a 
Net::LDAP::LDIF object: 
   $entry->update($ldif); 
 
CU 
Peter 



Reply via email to