The stupid question is the question not asked | |
PerlMonks |
Re: RFC: Placeholder creation for SQL statementsby LanX (Saint) |
on Mar 09, 2018 at 17:34 UTC ( [id://1210582]=note: print w/replies, xml ) | Need Help?? |
> underscored _var_names are ignored ( placeholders can't be everywhere) probably it's better to only ignore scalar references. "SELECT * FROM $$table" is a better visual hint than "SELECT * FROM $_table" and migrating old code is probably easier then.... A custom function no_placeholders($table, VARLIST) might help too.
Cheers Rolf
In Section
Meditations
|
|