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

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

VERSION

version 0.10

 $Id: CGI.pm,v 1.4 2004/09/19 21:35:32 rjbs Exp $

SYNOPSIS

 use Querylet;
 use Querylet::CGI;

 query:
   SELECT firstname, age
   FROM people
   WHERE lastname = '[% lastname %]'
   ORDER BY firstname
 
 input type: cgi

 input: lastname

 munge query:
   lastname => $input->{lastname}

DESCRIPTION

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

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

Ricardo SIGNES, <rjbs@cpan.org>

BUGS

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

Copyright 2004 Ricardo SIGNES, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.