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

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

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.

Generates a raw text dump of the data structure(s).
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.

Kenichi Ishigaki, <ishigaki at cpan.org>

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.