Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: RFC: Placeholder creation for SQL statements

by LanX (Saint)
on Mar 09, 2018 at 17:34 UTC ( [id://1210582]=note: print w/replies, xml ) Need Help??


in reply to RFC: Placeholder creation for SQL statements

> 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
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1210582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-25 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found