One of the major uses of Perl is to provide a web interface to applications so that programs can be accessed via a browser. Such applications may be written in Perl, or Perl may simply be the glueware that's used.
This topic is presented on public courses
Perl Programming,
Perl Extra,
Perl bootcamp
Examples from our training material
| demo.pl | First cgi program - read and echos form content |
| echo.htp | Form / template to go with echo.pl demo |
| echo.pl | Web basics - echo form content |
| job3.pl | Select, display, edit job opportunities application |
| letterlinks.pl | Perl on the web - simple file lookup |
| loganal.pl | Full cgi example - log file analysis |
| nice.htp | Template file for log analysis application |
| samform.html | Sample form for an CGI script |
| sdo2.pl | Multiple page Perl / CGI application |
| tabfeed.pl | Display list of SQL tables and/or table content on a web page |
| templ.htp | Template for sdo2.pl Perl / CGI demo |
Opentalk forum discussions related to this topic
passing a variable from PERL into an HTML formhow to link html file from perl programLinebreaking in htmlRunning Perl CGI scripts under Apache Tomcatperl script
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
http://www.training-notes.co.uk.
Topics covered in this module
The HTML form.
Input from the form into a Perl program - URL encoding.
Output from Perl back to the browser - headers, etc.
Overview of what you can do with CGI.
Example application - web log file analysis
Course links
The following web pages are used as references / examples in this module
[
Link] Google Search: text file and php
(at http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=text+file+and+php)
We check these links from time to time with a spider written in PHP. Latest full check was on Saturday, 12th June 2004. Titles are extracted from the web pages listed.
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
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 600 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.