Re: Wildcards

2006-01-02 Thread Bill Stephenson
On Dec 26, 2005, at 3:44 PM, Charles K. Clarkson wrote: It is usually better to eliminate as many special characters in a search pattern as possible. Not doing so a is big security risk. The 'quotemeta' function and the \Q operator are meant for this purpose. Also check out the references to

RE: Wildcards

2005-12-26 Thread Charles K. Clarkson
Bill Stephenson wrote: : I was playing around with it and found when I enter a "*" character : it matches all records. That's kind of a cool feature for the users : of this script. Are there any other special characters that will : affect the results? Yes. Many many

Wildcards

2005-12-26 Thread Bill Stephenson
I have this in a script that searches some files of saved CGI.pm objects: foreach my $item(@record_list){ if (open(my $FILE, "$path/$item")) { $CUSTOMER = new CGI($FILE); # Throw out the old $CUSTOMER, replace it with a new one close