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


-------------------------------------------------------
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

Reply via email to