[htmltmpl] Announce: HTML::Template::Dumper
Brought to you by:
samtregar
From: Timm M. <tm...@ag...> - 2003-11-20 16:34:25
|
As previously discussed on Perl Monks (http://www.perlmonks.org/index.pl?node_id=307736), HTML::Template::Dumper is almost ready for upload on CPAN. This module subclasses HTML::Template to dump out the data structure used to fill in the template in a serialized form. Once a remote script deserializes the stream, writing tests against it is as easy as walking the resulting hash. Note that this has nothing to do with the overall design of the page. For that, you really need a human. This module only deals with the output that would go into TMPL_* tags. The underlining HTML::Template methods for new(), param(), and output() are still called, so the template data is loaded and attributes like 'strict' and 'die_on_bad_params' are still respected. The POD has changed slightly since the posting above on Perl Monks, though most things are the same. I'll have this up on CPAN soon. PAUSE doesn't seem to be working ATM. Until then, I have a temporary downloads here: http://www.wumpus-cave.net/downloads/HTML-Template-Dumper-0.1.tar.gz http://www.wumpus-cave.net/downloads/HTML-Template-Dumper-0.1.tar.bz2 This was developed internally by me at my employer (the American Society of Agronomy, www.agronomy.org), who graciously allowed it to be made into a public release. Thanks, Timm Murray |