/usr/share/perl5/Template/Plugin/encoding.pm is in libtemplate-provider-encoding-perl 0.10-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | package Template::Plugin::encoding;
use base qw( Template::Plugin );
our $VERSION = '0.02';
sub new {
my $class = shift;
my $contetx = shift;
$_[0];
}
1;
__END__
=head1 NAME
Tempate::Plugin::encoding - Template plugin to specify encoding
=head1 SYNOPSIS
[% USE encoding 'euc-jp' -%]
<?xml version="1.0" encoding="[% encoding %]"?>
=head1 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 C<encoding>
variable in the template to specify file encoding, which might be
useful for XML or HTML meta tag.
=head1 AUTHOR
Tatsuhiko Miyagawa E<lt>miyagawa@bulknews.netE<gt>
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=head1 SEE ALSO
L<Template::Provider::Encoding>
=cut
|