Template::Plugin::Dump - alternative dumper plugin with Data::Dump


Template-Plugin-Dump documentation  | view source Contained in the Template-Plugin-Dump distribution.

Index


NAME

Top

Template::Plugin::Dump - alternative dumper plugin with Data::Dump

SYNOPSIS

Top

    [% USE Dump %]
    [% Dump.dump( variable ) %]
    [% Dump.dump_html( variable ) %]

DESCRIPTION

Top

This plugin is a simple alternative which uses Data::Dump instead of Data::Dumper. APIs are the same, except this plugin has no configuration options as Data::Dump has none of them.

METHODS

Top

dump

Generates a raw text dump of the data structure(s).

dump_html

Generates a dump, but with the characters <, >, & converted to their equivalent HTML entities, and newlines converted to <br>. White spaces and double quotes will be converted to the equivalent HTML entities as well.

AUTHOR

Top

Kenichi Ishigaki, <ishigaki at cpan.org>

COPYRIGHT AND LICENSE

Top


Template-Plugin-Dump documentation  | view source Contained in the Template-Plugin-Dump distribution.