Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Input on Lightweight SQL Query Storage?

by Arunbear (Prior)
on Apr 25, 2009 at 22:28 UTC ( [id://760073]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2026-02-18 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.