in reply to RFC: HTML::Template::Dumper

Being the author of the node you mentioned I am very positive towards this.

However my original node was more about checking that the template behaved correctly, rather than checking the template data itself.

Still, the checking of templates is something that is currently a bit of a hot potato, mainly I think because there is no accepted way to do it. Hopefully this module puts us on the path to getting it sorted.

For Template fans the following code achieves something similar to the above:

if ( $DEBUG_TEMPLATE_DATA ) { use YAML; print DUMP( $vars ); } else { $tt->process( 'file_to_process', $vars ); }

--tidiness is the memory loss of environmental mnemonics