laziness, impatience, and hubris | |
PerlMonks |
DBD::Pg ignoring placeholders, which are obvious to me at least . . .by hesco (Deacon) |
on Aug 21, 2009 at 19:37 UTC ( [id://790451]=perlquestion: print w/replies, xml ) | Need Help?? |
hesco has asked for the wisdom of the Perl Monks concerning the following question:
Confusion reigns here for the moment. My query asks for two bind variables and I give it two. What might this mean? My test script throws these errors:
originating from this method:
What's up with that? Why would that update query not want two bind variables to execute? -- Hugh UPDATE: Thanks Ikegami. I rewrote that query as: 'UPDATE asd_call_lists SET queued = TRUE WHERE phone = ? AND userid = ?;' and the error is no more. Those slashes were to escape the single quotes around t, inside the single quoted query. Not sure why the escapes were not appropriately processed. Thanks again.
if( $lal && $lol ) { $life++; }
Back to
Seekers of Perl Wisdom
|
|