http://www.perlmonks.org?node_id=857232


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