General Programming Techniques
- Multiplexing filhandles with select()
in Perl - Sometimes, especially when writing network services, it is
necessary to be able to multiplex between several filehandles instead of
blocking on read/write operations on them. This article explains how to
do this using Perl's select() and the IO::Select module.
- Sorting Techniques - An introduction
to sorting, and how to write your own sorting functions easily with perl.
Includes some very common examples of sorts.
- Perl Regular Expressions - What are
regular expressions and what are they good for? This article covers the very first
steps in understanding the concept of regular expressions and their use in Perl.
- The Perl Regular Expression Tutor - See how
regular expressions work. The interactive tutor allows you to enter your own input and regular expressions and will
show you what matches and what not.
- Perl File Handling - Learn how to operate
on files using Perl.
- Flexible CGI Output with HTML Templates -
This article describes a simple and effective method to format a CGI script's
output from HTML templates, by replacing special template directives with
dynamic content on the fly.
- Handling file uploading from www forms
with CGI.pm - Find out how to handle file uploads from web forms in
your CGI programs using perl and CGI.pm
- CGI Environmental Variables - Lists
all standard environmental variables made available to CGI programs by web
servers, and provides a brief explanation of each one of them.
- Processing URL-Encoded input for
CGI scripts - This is a quick explanation of how URL-Encoded CGI input
can be decoded and processed to a useful form.
- A web client for MP3 streaming in
perl - This article is a complete tutorial showing how to create your
own streaming web clients, that can be used to stream (play while downloading)
multimedia files such as mp3.
- Sending mail with sendmail - Find
out how to use sendmail (or other similar mail-serving software) to send
e-mail from within your script.
- Perl, Sockets and TCP/IP Networking -
An introduction to the basic concepts of socket communications and a tutorial
on how to build simple programs tha communicate via TCP/IP sockets. The tutorial
is based on two example programs that exchange information.
- Understanding HTTP using Perl - An introduction
to the HTTP protocol used for the exchange of www documents. It covers the
essential knowledge needed for the other articles in this section on web
- Connecting to remote hosts via TELNET -
Think it's easy? Find why it isn't unless you use the Net:Telnet module,
and learn how to use it to create programs that connect to other computers
- Understanding UNIX permissions
and chmod - A brief explanation, in simple terms, of how unix permissions
work and how to manipulate/set file permissions with chmod. Although this
is not directly relevant to perl, most novice Perl/CGI programmers get
confused with this issue sometimes, so we hope this tutorial will help.