Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Escaping %params

by trwww (Priest)
on Jan 21, 2014 at 16:27 UTC ( [id://1071491] : note . print w/replies, xml ) Need Help??


in reply to Escaping %params

Use the quote method of your database handle:

my $escapeId = $dbh->quote( $params{id} )