Template::Plugin::Filter::Base64 - encoding b64 filter for Template Toolkit
[% USE Filter.Base64 trim => 1, use_html_entity => 'cp1251' %] [% FILTER b64 %] Hello, world! [% END %]
Optional. If true, removes trailing blank characters (and lf, cr) of an input string
Optional. Value means default charset (e.g. 'cp1251'). Result - convert text with html entities before base64-encoding
MIME::Base64 - Encoding and decoding of base64 strings http://search.cpan.org/~gaas/MIME-Base64/Base64.pm
Copyright (C) bbon.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
bbon <bbon@mail.ru>
To install Template::Plugin::Filter::Base64, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::Filter::Base64
CPAN shell
perl -MCPAN -e shell install Template::Plugin::Filter::Base64
For more information on module installation, please visit the detailed CPAN module installation guide.