I don't know why it took my 5 years to try this module. Now that CGI::Application has the html_tmpl_class() method, this is a really practical testing tool. It returns a hashref of exactly the tokens that would be sent to a template file, including taking into account which tokens actually exist in the template file. This way, I can precisely unit test what would be sent to template, but without dealing with the full HTML, without modifying my code. A valuable testing tool!