sub query_as_string { my ($sql, @bind)=@_; # [14:50] <ilmari> metaperl: s/\?/$dbh->quote(shift @bind)/ge $_ = $sql; s/\?/$dbh->quote(shift @bind)/ge ; $_; }
-- Terence Parr, "Enforcing Strict Model View Separation in Template Engines"
In reply to Re: Concrete SQL from SQL::Abstract?
by metaperl
in thread Concrete SQL from SQL::Abstract?
by benizi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |