A Perl Guestbook

I'm starting with a guestbook script because this is an effect that can be done with a very small amount of PERL code.

provided by: 
Originally published at Internet.com


I'm starting with a guestbook script because this is an effect that can be done with a very small amount of PERL code. In addition, the script shows PERL's ability to be modular very well.

The script will do three things:


We'll take each of the three modules in order over the next three Primers, but first let's take a look at the effect:

Sign my Guestbook

OK, it's not that big a deal right now, but by the time we're done with it, you'll understand it to the point where you can make it do so much more.

-----------------------------------

The Guestbook HTML



The easy part is the HTML. It looks like this:

Guestbook.html

Just copy and paste it right from the page. You'll want to make two changes to the code. The first is the path following ACTION=. You need to alter that to reflect the path to your cgi-bin and then the name of your PERL script. I called mine guestbook.cgi. You can change it to whatever you'd like, but change that here...

Read article at Internet.com site

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML