I wrote something that takes Dreamweaver template files and does roughly what you suggest.
The syntax on that is something like this: <!-- TemplateParam name="foo" value="bar" --> Alternatively, you can use the DEFAULT function already built into HTML::Template <!-- TMPL_VAR NAME="foo" DEFAULT="bar" --> The name of the package that I wrote is called HTML::Template::Filter::Dreamweaver and is downloadable from CPAN. Brian -----Original Message----- From: Cees Hek [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 9:04 AM To: Lance A. Brown Cc: HTML Users Subject: Re: [htmltmpl] Re: H::T future Lance A. Brown wrote: > On Mon, 2003-12-08 at 20:31, Karen J. Cravens wrote: > Argh. I can't remember where, but I ran across a Website package > using HTML::Template that had this feature. > > The templates in the package have <TMPL_VALUE name="foo" value="bar"> > tags and used a filter function to extract them from the templates and > insert them into the template params. It was a very neat hack. I spent about an hour last night trying to find the same website with no success :) It really was a cool little feature, but I can't for the life of me remember where I saw it... Hoping someone else remembers and is kind enough to post an URL. Cheers, Cees ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users ------------------------------------------------------------------------------ This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users