NAME
CGI::Builder::Test - Adds some testing methods to your build
SYNOPSIS
use CGI::Builder
qw| CGI::Builder::Test
|;
DESCRIPTION
This module adds just a couple of very basics methods used for debugging.
METHODS
dump()
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.
dump_html()
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.
OVERRIDDEN CGI::Builder Methods
die_handler
This method is overridden in order to add the dump of the object to the error message.
SUPPORT
See "SUPPORT" in CGI::Builder.
AUTHOR and COPYRIGHT
© 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.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 111:
Non-ASCII character seen before =encoding in '©'. Assuming CP1252