The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION 1.24

Included in CGI-Builder 1.24 distribution.

The latest versions changes are reported in the Changes file in this distribution.

The distribution includes:

CGI::Builder

Framework to build simple or complex web-apps

CGI::Builder::Const

Imports constants

CGI::Builder::Test

Adds some testing methods to your build

Bundle::CGI::Builder::Complete

A bundle to install the CBF and all its extensions and prerequisites

To have the complete list of all the extensions of the CBF, see "Extensions List" in CGI::Builder

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.

SUPPORT

Support for all the modules of the CBF is via the mailing list. The list is used for general support on the use of the CBF, announcements, bug reports, patches, suggestions for improvements or new features. The API to the CBF is stable, but if you use the CBF in a production environment, it's probably a good idea to keep a watch on the list.

You can join the CBF mailing list at this url:

http://lists.sourceforge.net/lists/listinfo/cgi-builder-users

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 131:

Non-ASCII character seen before =encoding in '©'. Assuming CP1252