|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Devel::Declare type syntactic sugar for DBI select bind_col paramby moritz (Cardinal) |
| on Sep 30, 2012 at 14:45 UTC ( #996508=note: print w/ replies, xml ) | Need Help?? |
|
But my thinking isn't clear, any ideas? I guess you are looking for feedback on the design, not the implementation. So here are some thoughts:
Given these constraints, I'd propose something along the lines of
Which would desugar to something like
Maybe you also want to add another syntax for interpolating variables that are piped through $dbh->quote_identifer instead of placeholders, for when you need to interpolate the table name.
In Section
Meditations
|
|
||||||||||||||||||||