From: Christopher A B. <ca...@tc...> - 2003-03-20 18:23:10
|
> ----- Forwarded message from Douglas Gray Stephens <gr...@ca...> ----- > Can you consider if Net::LDAP should adopt the same user friendly > approach of removing duplicate wild cards (may be the parse subroutine > in Filter.pm so also do > $filter =~ s/\*+/\*/go; > after > $filter =~ s/^\s*//; > ). If this is a concern for your code (i.e. you are allowing arbitrary searches from user input), why not do it yourself before calling Net::LDAP's search? It seems like a waste of processing time in the case where the person writing the code is specifying a static filter. %% Christopher A. Bongaarts %% ca...@tc... %% %% Internet Services %% http://umn.edu/~cab %% %% University of Minnesota %% +1 (612) 625-1809 %% |