Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
Python and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Lua, etc

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Perl module P412
Using CGI.pm
Exercises, examples and other material relating to training module P412. This topic is presented on public course Using Perl on the Web

The CGI.pm module provides a huge array of subroutines that enable you to handle CGI requests and generate HTML web pages in response without having to code down to the URL decoding and tag generation level yourself.

Related technical and longer articles
Handling Cookies through CGI.pm

Articles and tips on this subjectupdated
2231What is CGI.pm / A dozen new examples
Perl's CGI.pm module allows both a structured and Object Oriented approach to generating and handling web pages via the Common Gateway Interface. It was written (a long time ago now) to provide a library of routines to help Perl programmers write web applications without having to (re)write or roll ...
Examples from our training material
bookkeeper.pl   function to clear old session files
cgi_cookies.pl   Report on cookies from browser
cgi_serverpush.pl   Server push - a series of responses pages
cgi_shoppingcart.pl   Complete shopping cart demo - using CGI.pm
cgiform.pl   How to set up a form using CGI.pm
cgihello.pl   Hello CGI.pm world
cgiobjects.pl   Hello Object Oriented CGI.pm
cgireadback.pl   Reading back from a form via CGI.pm
cgitables.pl   Setting up tables with CGI.pm
cook2.pl   CGI.pm - sessions using hidden fields
cook3.pl   CGI.pm / sessions with hidden fields / page 2
cookstart.pl   CGI.pm OO form / for hidden field session demo
extrapath.pl   CGI.pm - how to find server parameters such as remote address
favbrek.pl   Sample exercise answer - favourite breakfast
formdumper.pl   Finding what fields have been submitted - CGI.pm
upload_form.pl   Using CGI.pm to upload an image - initial form
upload_handler.pl   Using CGI.pm to upload an image - submission handler
with.pl   Simple seb page with CGI.pm
without.pl   Simple seb page withOUT CGI.pm (for comparison)
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from [here].
Topics covered in this module
What does CGI.pm provide?
Object and procedural interfaces.
Cautionary notes.
HTML element support.
Form support.
Reading from a form.
Debug tools.
State and cookies via CGI.pm.
Shopping cart example.
Handling multiple select fields.
File uploads via CGI.pm
Further uses of header.
Introduction to the LWP module.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Ruby, Lua, Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2019: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01225 708225 • FAX: 01225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/P412.html • PAGE BUILT: Mon Feb 8 18:55:24 2016 • BUILD SYSTEM: WomanWithCat