Like i said

the patch i posted for supporting <TMPL_VAR>...</TMPL_VAR> don't work well
when mixing with standard TMPL_VAR.
Moreover the regular expression used in old patch was called every time you
call the "output" method and didn't used caching method implemented by H:T.

Now i've released a good patch that works well when mixing <TMPL_VAR>
standard tag and <TMPL_VAR>...</TMPL_VAR> tag. Moreover patch algoritm is
called only when the template is loaded from file or stream (the same time
is called _call_filters internal method that is in the new method and every
time is necessary to include an external file) and so all caching method
implementing in H:T works well for best performance.

I saw no performance degreade using this patch also with long (long)
template files.

This patch is available here:

http://www.ebruni.it/en/software/perl/cpan/html/template/patch_slashvar.htm

Let me know if you find problems using it.

BYE

------------------------------------------------------------
+      Dott. Bruni Emiliano - Graduated in Physics         +
------------------------------------------------------------
+   Cisco Certificated Designer Associate                  +
+   Software developer & Network Administrator             +
+   Nick Handle: EB1346-RIPE  BE1484        ICQ: #16774468 +
+   E-Mail: [EMAIL PROTECTED]                                 +
+   Web:    http://www.ebruni.it                           +
+----------------------------------------------------------+


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to