This is the very problem I aim to solve (at least in part) with HTML::Template::Dumper. I imagine a system that works this way:
The /tmp/debug_mode file means you could run the tests against your production web server with debug mode only allowed for a limited period of time. You probably don't want debugging information leaking out on a regular basis (though for many CGIs, it will probably be little more than would be filled into a template anyway). More sophisticated cryptographic techniques for turning on debug mode are also possible, if you're really concerned about security.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
In reply to Re: Tests for CGI apps
by hardburn
in thread Tests for CGI apps
by jest
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |