The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Template::Stash::HTML::Entities - Encode the value automatically using HTML::Entities

VERSION

0.01

SYNOPSIS

    use Template::Stash::HTML::Entities;

    my $tt = Template->new({
        STASH => Template::Stash::HTML::Entities->new,
        ...
    });

or

    $Template::Config::STASH = 'Template::Stash::HTML::Entities';

DESCRIPTION

Encode the demanded value automatically. When you need raw data (For example, using it for the textarea element), you should decode it explicitly.

SUBROUTINES/METHODS

get

When the value is not a reference, it returns the encoded value.

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

Template::Stash, HTML::Entities

INCOMPATIBILITIES

BUGS AND LIMITATIONS

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.

You can find documentation for this module with the perldoc command.

    perldoc Template::Stash::HTML::Entities

You can also look for information at:

AUTHOR

Hironori Yoshida, <yoshida@cpan.org>

LICENSE AND COPYRIGHT

Copyright 2006 Hironori Yoshida, all rights reserved.

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