Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Tempate::Plugin::encoding - Template plugin to specify encoding

Author

       Tatsuhiko Miyagawa <miyagawa@bulknews.net>

       This library is free software; you can redistribute it and/or modify it under the same terms as Perl
       itself.

Description

       Template::Plugin::encoding is a Template plugin to declare the encoding of template files. This plugin
       doesn't actually do anything but Template::Provider::Encoding scans the usage of this module to find the
       encoding of templates. As a bonus, you can use "encoding" variable in the template to specify file
       encoding, which might be useful for XML or HTML meta tag.

Name

       Tempate::Plugin::encoding - Template plugin to specify encoding

See Also

       Template::Provider::Encoding

perl v5.34.0                                       2022-06-17                    Template::Plugin::encoding(3pm)

Synopsis

         [% USE encoding 'euc-jp' -%]
         <?xml version="1.0" encoding="[% encoding %]"?>

See Also