From: John B. <joh...@ne...> - 2000-08-17 16:24:46
|
> Not really, not any more. Yes I started it and I may have written most > of whats there. But I see most of it's future development coming > from others, hopefully I can be a good guide in the process. Yes. Someone needs to enforce taste and decency otherwise things become a mess. > > I'm not sure I'll easily do the ->save/load as non-recursive though. > > Oh, I don't know. There is normally a way. But write it as recursive > if thats what you feel most comfortable with. Someone with some spare > time can always change it later. Often there is not much to change, > notice I made little change to your code for the tree delete. Yes. I'm sure its do-able, just not sure *I'll* do it easily :-) > > > unshift @dn, map { $_->dn() } $msg->entries; > > No. base to ->search can be an Entry object. In which case ->search > will call ->dn for you. Hmm. Has that changed recently in CVS? I actually tried it and got a 'Bad DN Syntax' error. But I was using an old version of Net::LDAP I think. > > Or perhaps you mean: > > > > unshift @dn, $ldap->list( $dn ); > > > > instead :-) > > Maybe, but then I loose the Message, so I don't know if there are no > children of if there was an error. I guess I could check $@. Or save the original DN arg as $dn_orig and: return !$ldap->exists( $dn_orig ); at the end. jb |