On Wed, 3 Nov 2004 23:29:04 -0500, Bill Nixon <[EMAIL PROTECTED]> wrote:
> I'm looking for suggestions on how to get a value from my template that can
> be used in my Perl code. I'd rather not switch to another template module
> that would provide this since HTML::Template has otherwise met my needs.

I've done something similar, but not with explicit SQL code.  Instead,
I've used TMPL_VAR names in a specific format:
"forum-getrootslast-cityhall-15" for instance, where "forum" is the
prefix that indicates it's a magic format, "getrootslast" is a
predefined SQL search, and "cityhall" and "15" are parms to be passed
to the search.

It's not quite as elegant as I'd like it to be, but it works for the
rare occasion I need it.


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to