From: Graham B. <gb...@po...> - 2000-07-02 11:09:58
|
----- 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 ----- |