Perl, Sockets and TCP/IP Networking
An oversimplified introduction to sockets
Sockets are a mechanism that allows programs to communicate, either on the same machine or across a network. The way it works is pretty simple: Each machine on a network is identified by some address. In this tutorial we will talk about tcp/ip networking, so by network address we mean an IP address.
http://www.perlpronews.com/2003/1121.html
|
11.21.03 |
|
Creating
a mailing list using Perl
This
article will take a look at one of the more common activities
on the web - a mailing list. Many websites (including
irt.org) use mailing lists to let visitors know when the
site is updated, removing the uncessary burden of having
to return day after day only to be greeted with old content.
These mailing lists typically have some sort of front
end that lets a user enter his or her email address. A
CGI script then accepts this address and adds it to either
a text file or database on the server.
http://www.perlpronews.com/2003/1029.html
|
10.29.03 |
|
Sorting
Techniques
Sorting
is a commonly needed operation in all kinds of programs.
Luckily, for us perl programmers, perl provides a very
simple yet extremely powerful mechanism to accomplish
any sort you might think of. This article is about teaching
the novice programmer how to sort lists of things, while
showing to the more experienced folks certain techniques
and ideas that could be new to them if they are migrating
from a different language.
http://www.perlpronews.com/2003/1009.html
|
10.09.03 |
|
Five
Habits for Successful Regular Expressions
Regular
expressions are hard to write, hard to read, and hard
to maintain. Plus, they are often wrong, matching unexpected
text and missing valid text. The problem stems from the
power and expressiveness of regular expressions. Each
metacharacter packs power and nuance, making code impossible
to decipher without resorting to mental gymnastics.
http://www.perlpronews.com/2003/0918.html
|
09.18.03 |
|
On
Topic
A
few concepts in Perl 6 are strange at first sight. They
seem hard to understand, but it's only because they're
new and different. They aren't deep mystical concepts
known only to Tibetan lamas. Anyone can understand them,
but it helps to start with a common-sense explanation.
http://www.perlpronews.com/2003/0819.html
|
08.19.03 |
|
Dealing
With Duplicate Data From Form Submissions
We've
received several requests for a method of verifying data
submitted with a web page form is unique. So I made a
kit that can be used to implement such a method, and give
it to you in this article.
http://www.perlpronews.com/2003/0815.html
|
08.15.03 |
|
Camel
POOP
Most
people are not aware of the fact that Perl has support
for object-oriented programming. If you've used another
object-oriented programming language such as Java or C++
or been exposed to object-orientation then object oriented
programming in Perl is nothing like that. To do real useful
object-oriented programming in Perl you only need to use
three simple rules as put forth by Larry Wall in Object
Oriented Perl .
http://www.perlpronews.com/2003/0805.html
|
08.05.03 |
|
Flexible
CGI Output With HTML Templates
Consider
our free search engine script. It is an excellent application,
but it wouldn't be very helpful for others if it could
display its results only in the output page format that
we use for our site. Somebody else's site will probably
need the output page to contain site-specific navigation
links, different colors, or even a completely different
layout concept.
http://www.perlpronews.com/2003/0801.html
|
08.01.03 |
|
Perl
regular expressions quick start
In
this statement, World is a regex and the // enclosing
/World tells perl to search a string for a match. The
operator =~ associates the string with the regex match
and produces a true value if the regex matched, or false
if the regex did not match. In our case, World matches
the second word in "Hello World", so the expression is
true. This idea has several variations.
http://www.perlpronews.com/2003/0709.html
|
07.09.03 |
|
Perl
6 Design Philosophy
At
the heart of every language is a core set of ideals that
give the language its direction and purpose. If you really
want to understand the choices that language designers
make--why they choose one feature over another or one
way of expressing a feature over another--the best place
to start is with the reasoning behind the choices.
http://www.perlpronews.com/2003/0703.html
|
07.03.03 |
|
Multiplexing
Filehandles With Select() In Perl
What
will happen here is that the program's execution will
block until there a line of input is available, i.e. the
user types something followed by a newline. In many cases
this is the desired behavior. Suppose you have a program
that accepts requests through a socket and does some processing
for each request, then moves on to the next request.
http://www.perlpronews.com/2003/0619.html
|
06.19.03 |
|
Five
Tips For .NET Programming In Perl
One
of the most common categories of questions on the SOAP::Lite
mailing list is how to get Perl SOAP applications to work
with .NET services. It's not that Perl and SOAP::Lite
are not suited to the job, but rather that there are easy
traps to fall into. Add to that the fact that .NET has
its own distinct philosophy toward applications, and the
confusion is understandable. This article will cover some
of the most common traps and considerations that trip
up Perl developers.
http://www.perlpronews.com/2003/0521.html
|
05.21.03 |
|