more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
You can question whatever you want. It's your code, after all. But you need to know the number of parameters in order to create an SQL string with the correct number of placeholders. So DBI checks the number of parameters for you for free. You get an extra layer of defensive programming for no cost. I can't see any reason why you wouldn't want to make use of it.
-- "The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg In reply to Re^5: Preventing malicious T-SQL injection attacks
by davorg
|
|