Template::Stash::HTML::Entities - Encode the value automatically using HTML::Entities
This document describes Template::Stash::HTML::Entities version 1.3.1
use Template::Stash::HTML::Entities; my $tt = Template->new({ STASH => Template::Stash::HTML::Entities->new, ... });
or
$Template::Config::STASH = 'Template::Stash::HTML::Entities';
Encode the demanded value automatically. When you need raw data (For example, using it for the textarea element), you should decode it explicitly.
When the value is not a reference, it returns the encoded value.
Template::Stash::HTML::Entities requires no configuration files or environment variables.
Template::Stash, HTML::Entities
None reported.
No bugs have been reported.
Please report any bugs or feature requests to bug-template-stash-html-entities@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Template-Stash-HTML-Entities. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-template-stash-html-entities@rt.cpan.org
Hironori Yoshida <yoshida@cpan.org>
<yoshida@cpan.org>
Copyright (c) 2006-2007, Hironori Yoshida <yoshida@cpan.org>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Template::Stash::HTML::Entities, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Stash::HTML::Entities
CPAN shell
perl -MCPAN -e shell install Template::Stash::HTML::Entities
For more information on module installation, please visit the detailed CPAN module installation guide.