On 30 Jul 2003, Steffen Zeidler wrote: > Iterating over my loop structure is exactly what I'm doing to provide my > variables as global. But for loop structures which have more than only one > dimension this is not such a nice way to do it. With the option global_vars > => 1 the script needs 6 seconds or more. With iterating over my loop > structure, it needs only 1 second.
6 seconds! How big is this template? > I thought of a new function like global_param() which mainly act like > param(). What do you think, Sam? I'm not in favor, mainly because I think the global_vars option itself was a mistake. I think the global_vars behavior - where loops inherit variables from their enclosing scope - should have been the default behavior all along. In fact, someday I'd like to write a new version of HTML::Template where global_vars is always on and much more efficient. -sam ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users