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.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '©'. Assuming CP1252
To install CGI::Builder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Builder
CPAN shell
perl -MCPAN -e shell install CGI::Builder
For more information on module installation, please visit the detailed CPAN module installation guide.