NAME |
Synopsis |
Description |
Distributions |
Usage |
Options |
Methods |
A Sample Form |
Author |
Copyright |
NAME
SynopsisThis is complete, tested program: #!/usr/bin/perl -wT use lib '.'; use strict; use CGI; use CGI::Echo; # ----------------------------------------------- my($q) = CGI -> new(); CGI::Echo -> new(q => $q) -> print(); DescriptionThis module accepts form data, cleans it, and echos it. It is designed for a HTML/CGI student enviroment. It lets, indeed encourages, students to design forms and gives their long-suffering instructors a simple way to provide a CGI script which accepts the form data, and just echos it. DistributionsThis module is available both as a Unix-style distro (*.tgz) and an ActiveState-style distro (*.ppd). The latter is shipped in a *.zip file. See http://savage.net.au/Perl-modules/html/installing-a-module.html for help on unpacking and installing each type of distro. UsageSee the synopsis. OptionsHere, in alphabetical order, are the options accepted by the constructor, together with their default values.
Methods
A Sample FormThe synopsis in Echo.pm contains the only script you'll need. You'll find the code in examples/echo.cgi. A sample form, examples/test-echo.html, is shipped to bootstrap the design process. Author
Home page: http://savage.net.au/index.html CopyrightAustralian copyright © 2002, Ron Savage. All rights reserved. All Programs of mine are 'OSI Certified Open Source Software'; you can redistribute them and/or modify them under the terms of The Artistic License, a copy of which is available at: http://www.opensource.org/licenses/index.html |
| Top of page |