Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Form validation/Search script

by Zaxo (Archbishop)
on Oct 24, 2005 at 18:28 UTC ( [id://502546]=note: print w/replies, xml ) Need Help??


in reply to Form validation/Search script

That depends on what you're searching. A database will more or less do it for you via DBI and SQL. Text search in files may use system grep or an index of some kind, or can use pure perl. Detail what you want.

If a regex is needed, you can join the search terms with '|' to make an alternation in the regex. That will find a match each time it finds one term.

Your "standard" treatment of the posted form is not so standard any more. Just saying,

use CGI; my $q = CGI->new;
takes care of all that.

After Compline,
Zaxo

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://502546]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-19 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found