Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Combining variables to create a single virtual variable

by sundialsvc4 (Abbot)
on Sep 21, 2012 at 12:59 UTC ( [id://994896]=note: print w/replies, xml ) Need Help??


in reply to Combining variables to create a single virtual variable

Another perhaps even-more-obvious way to present it would be to make one or more correspondings lists of letter-tag names, then iterate through that list making interpolations to build up the SQL string.   (Variable-names only, of course ... from a known fixed list, of course ...)   If there is a natural symmetry that you want to emphasize to the next reader of the source code, which of course is a very desirable thing to do, then I think that this would be a “clean and obvious” way to do that.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-23 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found