Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Using Perl/CGI Scripts

with Bill Weinman

Video: introduction

Get the skills necessary to edit and install basic Perl and CGI scripts.
please wait ...
Using Perl/CGI Scripts
Video Duration: 0s 2h 21m Beginner


View Course Description

Installing a Perl/CGI script doesn't have to be difficult, and making small modifications shouldn't take a rocket scientist. Designed for the web professional, Using Perl/CGI Scripts explains in simple step-by-step instructions how a CGI script works. You will acquire the skills you need to edit and install a Perl script on your server, and even make simple modifications without having to hire an expensive programmer! Complete with working examples of counters, contact forms, and even a web blog, Using Perl/CGI Scripts will guide you through the process of customizing and installing these scripts on your own web site.

Download the scripts used in the movies from the Exercise Files tab.

Topics include:
  • What is Perl?
  • What is CGI?
  • Installing a Perl script
  • Installing a hit counter
  • Installing a contact form script
  • Installing a blog script
  • Security issues
Developer Web
Perl CGI


- Welcome to Using Perl/CGI Scripts. I'm Bill Weinman. The purpose of this course is to teach you how to use Perl/CGI Scripts. How to install them on your web server, how to make little customizations to them, how to change the variables that you will sometimes need to change in order to be able to get them to work. Just to get you a good understanding, a good feel for how they work and what you will need to do sometimes to get them installed and running on your website.

Throughout this course we'll be using some CGI Scripts that I've written for this purpose. Once you're done with this course, you can always visit my website and find updates to the scripts. I'm planning to put up a little discussion group where the students can interact with each other and give each other advice and tips and things. Mark down this URL here. That's where you'll find these things in the future. The first script we'll be looking at in the course is this test.cgi script.

This is all it really does. It's extremely useful for testing out a web server that you haven't been to before or finding out what's wrong with a web server. It's a little test script that runs and echos back the configuration of the server and the versions of Perl and things. We'll also be using this datetime script, which is shown right here. This is an opportunity for you to learn how to use the types of CGI scripts that are included on a web page as opposed to run separately. You'll also learn how to change a variable so that you can get the wording of it to be different on your web page.

Also this little counter, which you see down here. It's a little bit suave, it puts commas in the numbers. Again, it's an include style CGI script. The difference here is you'll have to learn how to install a script that needs to read and write to a file. You'll learn that with that script. Then we'll get on to some of the more interesting scripts. This is a nice, simple blogging script that if you wanna put up a web blog on your website, that's a very popular thing today. A lot of people like to do that. I think I'm gonna start doing that, in fact.

Finally, this is an email contact script. This is the same one that I use on my website when somebody wants to contact me. I don't print my email address anywhere on my website. Instead, I have this nice little form. I already get thousands of pieces of spam a day, I don't need any more, so I just don't publish my email address any more. When people wanna contact me, they just come here. They put in their name, they put in their email address. They put in a subject. I'll put something in here.

And a subject, hi. This is a test. And they come down here and press the button and it gives them an opportunity to edit if they want to, make changes, and then finally go ahead and send the message and it sends me an email. I will not get an email from me. Those are the scripts that we're gonna be covering here. We're also gonna talk about some other common scripts that are out there, some of the pitfalls you can get into, some of the security issues that you might wanna think about.

By the end of this course you should know how to go out and find CGI scripts on the internet and install them on your site. You'll also have a little toolkit of some useful scripts that you can use from the course here as well. All of these scripts are available, if you got this course with a CD Rom or if you got the download files from the website, or you can just grab them from my website there at that URL

There are currently no FAQs about Using Perl/CGI Scripts.






Don't show this message again
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed Using Perl/CGI Scripts.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a Member and Create Custom Playlists

Join today and get unlimited access to the entire library of online learning video courses—and create as many playlists as you like.

Get started

Already a member?

Log in

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

You started this assessment previously and didn’t complete it.

You can pick up where you left off, or start over.

Resume Start over

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.