"be consistent" | |
PerlMonks |
Re: Use Placeholders. For SECURITY and (sometimes) for PERFORMANCEby hardburn (Abbot) |
on Nov 14, 2003 at 21:12 UTC ( [id://307215]=note: print w/replies, xml ) | Need Help?? |
Don't forget about prepare_cached(). This can really help under mod_perl. This code will do little more than suck up more memory:
This code takes up a little more memory, but also avoids having to re-prepare what is really the same statement with different input:
---- : () { :|:& };: Note: All code is untested, unless otherwise stated
In Section
Meditations
|
|