Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Problem with DBI and MySQL

by FloydATC (Chaplain)
on Aug 25, 2010 at 15:52 UTC ( #857232=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Problem with DBI and MySQL
in thread Problem with DBI and MySQL

I agree, $dbh->do() would have been much better as an example of a once-off query, and as a general rule placeholders produce code that is easier to read and debug. Where possible.

Otherwise, use $dbh->quote().

-- Time flies when you don't know what you're doing


Comment on Re^3: Problem with DBI and MySQL

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2015-07-04 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls