in reply to Input on Lightweight SQL Query Storage?

Ok, but why not use Template Toolkit (or another templating module) to do the actual template processing ?
  • Comment on Re: Input on Lightweight SQL Query Storage?

Replies are listed 'Best First'.
Re^2: Input on Lightweight SQL Query Storage?
by Xenofur (Monk) on Apr 26, 2009 at 15:29 UTC
    Just personal preference. I use TT in other projects, but when i need something light-weight AND powerful i fall back to the sub routine you see there, as it allows me high control over templates (substitution, if statements, looping through arrays of hashes, ability to use perl directly in each of these) without having any sort of strings attached.
Re^2: Input on Lightweight SQL Query Storage?
by metaperl (Curate) on Apr 28, 2009 at 15:11 UTC
    placeholder support - look at SQL::Interp for an idea of what you need to get done.