Resources for SPPSR Web Content Providers:
Perl Advice

by Danny Krouk

This area is designed to provide general advice on how to conceptualize and go about a Perl programming project. This area is not designed to teach you how to program in Perl.


Contents of Page Three

A Perl Script The Form that Calls It


A Perl Script

I've written a somewhat lengthy Perl script that takes user input, returns an acknowledgement page, send the input to an html bulletin board, and lets the user link to the bulletin board. This script is used at my site. However, I adapted (slightly) so that when you test it, it won't post to my site. Instead, it posts to a dumby page. Please feel free to take this script and use it for your own sites.

In borrowing my script, you may want to trim it to the bare essentials that you need and build outward. I have a lot of error-protection built in that you may not need or want. Also, please keep me informed of your adaptations. I'd like the ability to use what you create!

At any rate, here is the script. You'll have to hit the "Back" button to get back to this page.


The Form that Calls It

Please fill out this form and "submit it" to see the script work.

What type of submission is this?
What is the last day (mm/dd/96) that this message should be posted? (For an event, this would be the date of your event, for a job announcement, it would be the date you expect to fill the job by. You must use the format: MM/DD/96)
What is your email address?
What is your first and last name?
Enter the text that you would like to appear as your "Events & Information" submission. Be sure to include times, dates, and places.


WHEN YOU ARE DONE, PRESS THIS BUTTON TO:
OR, PRESS THIS BUTTON TO:
That's all the Perl Advice that I have for you at the moment. Please feel free to call on my as you work on developing your Perl scripts!


Urban Planning School of Public Policy & Social Research UCLA