Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Related technical and longer articles
Using LWP to write Web Clients
Tips and short articles on this subject
Automating access to a page obscured behind a holding page
Automated Browsing in Perl
Do not re-invent the wheel - use a Perl module
Answering ALL the delegate's Perl questions
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 P408
Standard Web Modules
Exercises, examples and other material relating to training module P408. This topic is presented on public course Using Perl on the Web

Using Perl on the Web - CGI, mod-Perl, and other standards. Sessions, cookies, content management, etc. This advanced course takes the Perl programmer ...
http://www.wellho.net/course/pwfull.html  [course]
I'm reminded on today's Perl course just how powerful some of the modules are, and how much you can do in so little code. LWP::UserAgent turns your Perl ...
http://www.wellho.net/mouth/2402_Aut ... -Perl.html  [short article]
As well as running server side scripts (through CGI, modPerl or ASP) and many uses independent of networks, Perl can be used to write server processes, ...
http://www.wellho.net/solutions/perl-usi ... ients.html  [longer article]
During courses, questions arise. "I'll get back to that" could make people feel that I'm brushing something off ... except that I explain, early on, ...
http://www.wellho.net/mouth/975_Answ ... tions.html  [short article]
"If you think 'surely someone has done this before', you're probably right ... and in Perl, you'll find the resource you need available as a module on ...
http://www.wellho.net/mouth/2229_Do- ... odule.html  [short article]
Question: "I have a web page that I visit which sends me an initial response to say that it's working on the results, and then the results appear a few ...
http://www.wellho.net/mouth/2416_Aut ... -page.html  [short article]
#!/usr/bin/perl use LWP::Simple; $site = "http://www.wellho.net"; # Sample (simplified code!) to reduce all URLs to a full, standard format sub canonicalise ...
http://www.wellho.net/resources/ex.php4?item=p408/page_checker  [code sample]

You're not the first person to write a CGI script in Perl. If you want to use standard modules from the CPAN, or supplied with Perl itself, there are plenty out there and we introduce you to some of them in this training module.

This topic is presented on public course Using Perl on the Web

Examples from our training material
cc2   Use LWP UserAgent to check and see if a remote site has changed
cgi1.pl   Simple demo of CGI.pm
cgilite.pl   Using CGI_Lite.pm - simple example
cgis.pl   Using CGI.pm as a structured code
cookie.pl   Setting, reading and deleting cookies
ecbgrab.pl   Grabbing a network resource through LWP UserAgent
goodlinks   Validate links from a page (LWP)
grab2   A first example - grabbing a web page via LWP
page_checker   Using LWP::Simple to find all links from a web page
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
CGI Modules.
CGI.pm.
CGI-Lite.
Using CGI for cookies.
Legal and security issues with cookies.
Using LWP to write your own clients.
A note of caution.
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 700 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.


You can Add a comment or ranking to this page

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