I think you might want to see my script, to see where I am trying to go. As
this is my first day on this list, I'd like to know if it's okay for me to
post an entire script before I do. It's 69 lines, with a lot of comments
stating what I am trying to do. Would you all mind if I post it, or would
you prefer to communicate with me off-list?

Much obliged!





----- Original Message -----
From: Lee Hoffner
To: PERL Beginner List
Sent: Tuesday, August 07, 2001 6:48 PM
Subject: Newbie -- got a question


I'm new to scripting in PERL (I've only done Javascript and Lingo before).

I'm building a script to write an HTML page on the fly, using image files
that are in a directory that is given to the script as a variable. How do I
pass my variable to my script from the HREF link that my user clicks? (EG:
my script is in my cgi-bin directory and is named "pgbuilder.pl". Do I make
the link something like
http://www.domain.com/cgi-bin/pgbuilder.pl?archimage, where "archimage" is
the name of the directory I want to pass the script?

The script itself will use
   $dir = param('dir')
to receive/store the variable.



Thanks!

__________________________________
Lee Hoffner


Reply via email to