Implicit in Zaxo and Jeffa's replies is that you should use placeholders because your interpolation opens you up to SQL insertion attacks. I'm sure someone here has a good node on why and how that can go wrong. It boils down to checking your user input before giving it to your database. Your code as written allows your web user to execute arbitrary SQL code which is a Bad Thing.
__SIG__
printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE
In reply to Re: DBI and MySQL wild card function?
by diotalevi
in thread DBI and MySQL wild card function?
by perleager
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |