CGI::Wrap 2006.0215 reviewDownload
CGI::Wrap is a buffer output when building CGI programs. SYNOPSIS use CGI; use CGI::Croak; use CGI::W
CGI::Wrap is a buffer output when building CGI programs.
$query = new CGI;
savequery $query; # to reconstruct input
$CGI::Out::mailto = 'fred'; # override default of $header();
$CGI::Out::out # is the buffer
This is a helper routine for building CGI programs. It buffers stdout until you're completed building your output. If you should get an error before you are finished, then it will display a nice error message (in HTML), log the error, and send email about the problem.
To use it, you must condense your program down to a single function call and then use CGI::Wrap::run to call it.
Instead of print, use out.
CGI::Wrap 2006.0215 keywords