Re: H::T future (was Re: [htmltmpl] xml complant tags)
Brought to you by:
samtregar
From: Roger B. W. <ro...@fi...> - 2003-12-08 23:27:41
|
On Mon, Dec 08, 2003 at 05:21:26PM -0600, Karen J. Cravens wrote: >On Mon, 8 Dec 2003, Sam Tregar wrote: >ST>Make global_vars=1 the default mode and build it in right from the >ST>start. It's what everyone expects when they first use the module and >ST>I think it was a mistake to have it default off. In fact, I lean >ST>towards removing the option entirely. >I could go for this. I have not yet used global_vars=1 in 3+ years of using H::T. I am after all a coder, and I _expect_ local variables... I'd certainly like to keep local variables as an option, at least, though most of my templates don't care. >I also almost always have die-on-invalid shut off, because I tend to want >my code to shove as many parameters as possible out for use, but my >templates don't always use them. I may be in the minority there, though. If so, I am too. Highly useful. I sometimes think about a "production mode" H::T module that would strip out all the syntax checking stuff and simply assume that the templates are valid (thereby running even faster). Roger |