The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DiaColloDB::WWW::Handler::cgi - diachronic collocation db, www wrappers: cgi handler

SYNOPSIS

 ##========================================================================
 ## PRELIMINARIES
 
 use DiaColloDB::WWW::Handler::cgi;
 
 ##========================================================================
 ## Methods
 
 $h = $class_or_obj->new(%options);
 $rsp = $h->run($server, $clientConn, $httpRequest);
 

DESCRIPTION

DiaColloDB::WWW::Handler::cgi provides a DiaColloDB::WWW::Handler-compliant class for handling CGI-like requests via DiaColloDB::WWW::CGI.

Globals

Variable: @ISA

DiaColloDB::WWW::Handler::cgi inherits from DiaColloDB::WWW::Handler.

Methods

new
 $h = $class_or_obj->new(%options);

%options, %$h:

 template  => $ttkfile,          ##-- ttk template for instantiation (REQUIRED)
run
 $rsp = $h->run($server, $clientConn, $httpRequest);

Handles a CGI-like server request using a temporary DiaColloDB::WWW::CGI object to instantiate the specified $h->{template} using the query parameters parsed from the HTTP::Request object $httpRequest.

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2016 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

DiaColloDB::WWW::Handler::raw(3pm), DiaColloDB::WWW::Handler(3pm), DiaColloDB::WWW::CGI(3pm), perl(1), ...