From: Mark W. <mew...@un...> - 2000-07-03 15:01:31
|
This sounds like a bug we had in .17 or .18. Make sure you're using Net::LDAP .19 and the latest version Convert::ASN1. Mark On Sun, 2 Jul 2000, Graham Barr wrote: > ----- Forwarded message from Jie Gao <J....@is...> ----- > > Date: Sun, 2 Jul 2000 17:26:43 +1000 (EST) > From: Jie Gao <J....@is...> > To: gb...@po... > Subject: feedback on Net::LDAP > > Dear Graham, > > On Net::LDAP::FAQ manual page, there is this paragraph: > > # as an array > > my $max = $mesg->count; # How many entries were returned from the search > > for( my $index = 0 ; $index < $max ; $index++) { > my $entry = $mesg->entry($index); > # ... > } > > # or as a stack > > while( my $entry = $mesg->shift_entry) { > # ... > } > > I found the 2nd method won't work: it just hangs at the end of the loop. > > The first one works wonderfully. > > Thanks, > > > > Jie > > > > > > ----- End forwarded message ----- > > |