Syntactic Confectionery Delight | |
PerlMonks |
Re: Inserting Apostrophes into SQLby jfroebe (Parson) |
on Nov 16, 2011 at 19:50 UTC ( [id://938452]=note: print w/replies, xml ) | Need Help?? |
Another, less elegant IMHO, option would be to use $query = sprintf "insert into da_table values (%s)", $dbh->quote("kjasdfkj'asdflkjasef'sadfhasdfsadf'asdfhasfd'");
In Section
Seekers of Perl Wisdom
|
|