Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Wildcards, SQL and Perl

by esskar (Deacon)
on Mar 13, 2004 at 19:08 UTC ( [id://336400]=note: print w/replies, xml ) Need Help??


in reply to Wildcards, SQL and Perl

what about just getting the answer and then test with a regexp (or plain index) if the answer of the database is included in the answer of the user
SELECT * FROM Grade_Theory WHERE *Question* = 'The funcdamental partic +le is called a quark, Bob!' # now out the answer in the var $answer if($user_answer =~ !$answer!) { # okay }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-18 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found