![]() |
|
Just another Perl shrine | |
PerlMonks |
Re: A puzzled garbage character issues by use Perl-DBIby lostjimmy (Chaplain) |
on Dec 19, 2008 at 15:38 UTC ( #731569=note: print w/replies, xml ) | Need Help?? |
I believe you have things backwards. In your first example, you want to use $dbh->quote(), because if you have single quotes in your content, you could run into some security vulnerabilities. In your second example, you do not need to quote because placeholders will automatically (and appropriately) quote any content. Try removing the call to quote and see if it makes a difference.
In Section
Seekers of Perl Wisdom
|
|