in reply to line-oriented dynamic sql

It looks like you are reinventing templates in a less readable and more complicated way. Just use one of the plethora of templating modules, and have a template for your SQL. Put whatever values you want in your template, and you're done.

Replies are listed 'Best First'.
Re^2: line-oriented dynamic sql
by metaperl (Curate) on Feb 13, 2009 at 17:37 UTC
    I appear guilty as charged... That's definitely something to think about...