
CGI::Builder::Test - Adds some testing methods to your build

use CGI::Builder
qw| CGI::Builder::Test
|;

This module adds just a couple of very basics methods used for debugging.

print STDERR $webapp->dump();
The dump() method returns a chunk of text which contains all the environment and CGI form data of the request, formatted for human readability. Useful for outputting to STDERR.
my $output = $webapp->dump_html();
The dump_html() method returns a chunk of text which contains all the environment and CGI form data of the request, formatted for human readability via a web browser. Useful for outputting to a browser.

This method is overridden in order to add the dump of the object to the error message.

See "SUPPORT" in CGI::Builder.

© 2004 by Domizio Demichelis.
All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as perl itself.