CGI-Builder
view release on metacpan or search on metacpan
lib/CGI/Builder.pm view on Meta::CPAN
=head2 Instance Script
The instance script is used as the CGI script that manage the client's request: it is usually a very short script that just creates a new instance of your application class, and executes the process() method. This is a complete typical instance scrip...
#!/usr/bin/perl -w
use My::WebApp ;
$webapp = My::WebApp->new() ;
$webapp->process() ;
B<Note>: This script could be completely eliminated by the use of the C<Apache::CGI::Builder> extension (usable under mod_perl) which transparently executes the process.
=head2 CGI Builder Build (CBB)
This is the part of your application that implements the CBF features.
B<Note>: In this documentation we call the package that uses C::B (and that eventually includes any extension and super class) a "CGI Builder Build" or simply CBB for shortness.
The CBB is not intended to be used as a CGI script by itself, but as a class defining the methods, properties and handlers needed to integrates the CBF capability to generates the pages with your very specific needs.
Your application will inherit the CBF capability by simply using the base module CGI::Builder:
( run in 0.487 second using v1.01-cache-2.11-cpan-a1d94b6210f )