NAME

Petal::Hash::Encode_HTML - A modifier that encodes hash values to HTML

SYNOPSIS

my $value = $hash->{'some.expression'};
my $value_html = $hash->{':encode some.expression'};

DESCRIPTION

A simple modifier which encodes values as HTML, i.e. turns '&', '<', '>' and '"' into '&amp;' '&lt;' '&gt;' and '&quot;' respectively.

AUTHOR

Lucas Marinho <lucas.marinho@uol.com.br>

This module is redistributed under the same license as Perl itself.

SEE ALSO

The template hash module:

Petal::Hash