Sam Wong wrote:
> Another work around I have found working so far is to include...
> [% RAWPERL %]
>     use utf-8;
> [% END %]
> ...at the head of EVERY templates...

You could subclass Template::Directive to have a modified version 
of the template() subroutine which adds it for you automatically.
Then use the FACTORY config option to tell TT to use your new 
directives factory module.

See t/factory.t for an example of subclassing T::D.

A


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to