Exercises, examples and other material relating to training module P224. This topic is presented on public course
Perl Extra
Introduction
Articles and tips on this subject | updated |
2876 | Different perl examples - some corners I rarely explore The private Perl course that I ran on Wednesday through Friday of last week was a little out of the ordinary as we were concentrating far more that usual on a wide variety of practices that may be found - either in legacy code or advanced recent code. Great fun for me, and plenty of new examples.
Here ... | 2010-12-04 (longest) |
2970 | Perl - doing several things at the same time What if you want a Perl process to go off in two different directions at the same time - perhaps a server that's going to handle several connections at the same time, or an application that's going to be doing heavy processing, but at the same time has to respond to inputs from elsewhere, such as the ... | 2010-09-25 |
2695 | TCP v UDP / Client v Server - Python examples Python's socket module makes it easy for you to write your own clients and server ... and yesterday I produced "Hello World" style examples of each on the final day of our Python Programming Course. I'm going to share these examples with you here ... but I'm also going to add a word of caution first ... | 2010-03-26 |
2402 | Automated Browsing in Perl 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 into an automated browser .. the following four lines reading the robots.txt off my web site.
use LWP::UserAgent;
$connex = new LWP::UserAgent("agent" ... | 2009-09-11 (short) |
1918 | Perl Socket Programming Examples It's always a pleasure to run private courses - for when a questions that's a little bit away from the normal comes up, I can take time to provide a full answer and demonstration without fear of loosing delegates from other companies who have no interest. And so it was today - I have two examples, plus ... | 2008-12-03 |
1073 | Heartbeat script in Perl Scenario ... an Apache httpd web server is distributing requests around between a number of Apache Tomcat instances on different computers (perhaps using mod_rewrite to allocate the requests). If a Tomcat instance become unavailable (i.e. if the host running it is taken offline) then it's to be removed ... | 2007-02-09 |
604 | Perl - multiprocess applications There are times that you'll be writing an application that you want to go off and perform task "x" and AT THE SAME TIME have it perform task "y", co-ordinating task "y" with task "x". Threading (NOT the subject covered here) is one possible approach. And another possible approach is forking. How does ... | 2006-06-05 |
Examples from our training material
albert | Forking, Piping and Signals |
myweblib.pm | module to go with s1 web grab example |
netgrep | Network grep server - connect via telnet on port 5678 |
perl_robot_client | robot.txt collector in Perl from a list of sites |
pfinger | Client in Perl - talks to remote finger daemon |
pg1 | LWP - simplest test |
pg2 | LWP - sets own User Agent |
s1 | Grab a web page |
victoria | fork and talk |
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
Introduction.
IP and TCP.
Testing the protocol with telnet.
TCP server.
A final example.
Summary.
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.