Querylet::CGI - turn a querylet into a web application


Querylet-CGI documentation  | view source Contained in the Querylet-CGI distribution.

Index


NAME

Top

Querylet::CGI - turn a querylet into a web application

VERSION

Top

version 0.142

 $Id: /my/cs/projects/q/cgi/trunk/lib/Querylet/CGI.pm 28168 2006-11-16T13:28:06.203711Z rjbs  $

SYNOPSIS

Top

 use Querylet;
 use Querylet::CGI;

 query:
   SELECT firstname, age
   FROM people
   WHERE lastname = ?
   ORDER BY firstname

 input type: cgi

 input: lastname

 query parameter: $input->{lastname}

DESCRIPTION

Top

Querylet::CGI provides an input handler for Querylet, retrieving input parameters from the CGI environment. If not all required inputs are found, it changes the Query object's output type, causing it to produce a form requesting the required input parameters.

METHODS

Top

default_type

Querylet::CGI acts as a Querylet::Input module, and registers itself as an input handler when used. The default type to register is 'cgi'

handler

The default registered handler will retrieve parameters from the CGI environment using the CGI module.

AUTHOR

Top

Ricardo SIGNES, <rjbs@cpan.org>

BUGS

Top

Please report any bugs or feature requests to bug-querylet-cgi@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT

Top


Querylet-CGI documentation  | view source Contained in the Querylet-CGI distribution.