Okay...
now we are getting somewhere.
I suggest that you surf over to
http://www.perlmonks.org and have a look around. Also, do a Google search on "perl cgi example."
And...
"Don't Panic!"(tm) A week is
plenty of time.
The first thing that you want to study is exactly
how you go about configuring Apache to recognize that, when a request comes in to "this virtual-host," what it's supposed to do is ... not to "find a file and send its contents back," but rather "to run this-or-that program." Once again, Google is the best research-library known to mankind, and what you're looking for is "not new, just new to
you!"
Then, copy some example somewhere ... how about a "For Dummies" guide at your local bookstore? Get
some Perl program running. When you've got that proverbial "Hello, World!" example running, you're 99% of the way to your destination.
I
mean this:
"Don't Panic!" Panic is real, but it will only get in your way.
"Knowledge Is Power." When your mind is caught up in "fight or flight," you're a deer in the headlights. "First, get out of the road."
Consider what happens when you are at
this web-site. The Apache server that runs
linuxquestions.org isn't delivering static-file contents to you: it's running a PHP program. (The program that it's running right now for me is named
newreply.php.) The program that
you will be running is in Perl, but the end result is the same: when I click "Submit Reply," that program will
run, and it will do something with a database someplace, and it will generate HTML code as output ... which I will subsequently see.
Once again: this is not "new," it is just "new to you."
S-T-O-P and
T-H-I-N-K. Push your panic aside: you need information, so
S-T-O-P and
R-E-A-D. You need a
plan. You need to
S-T-O-P until you have one.
It's called L-E-A-R-N-I-N-G. We've
all been where you are, both in and out of school.