Kenichi Ishigaki

NAME

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

SYNOPSIS

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

DESCRIPTION

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

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

Kenichi Ishigaki, <ishigaki at cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Kenichi Ishigaki

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