Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: Use Placeholders. For SECURITY and (sometimes) for PERFORMANCEby runrig (Abbot) |
on Nov 15, 2003 at 13:51 UTC ( [id://307315]=note: print w/replies, xml ) | Need Help?? |
Making fewer database calls when possible is good. You can also do (if there are not too many @values): But I think jZed was just offering a generic example, and on these sorts of updates, I think you often want to set 'bar' equal to something different for each 'baz', so the multiple execution version is more appropriate in that case.
In Section
Meditations
|
|