--- Lee Hoffner <[EMAIL PROTECTED]> wrote:
> Thanks, Curtis! Below is the script. (I hope it's clear!)
>
>
>
> #!/usr/local/bin/perl
[snip]
> use strict;
> use CGI qw/:standard/;
> my $dir = param('dir');
[snip]
> @filearray = opendir(D
Hi,
On Tue, 7 Aug 2001, Lee Hoffner wrote:
> use strict;
> use CGI qw/:standard/;
> my $dir = param('dir');
>
> #Verify that the requested directory exists.
> #I imagine I want to say something like:
> if (-d $dir) {
>
> print < Content-Type: text/html\n\n
>
>
>
> END
> @filearray =
Thanks, Curtis! Below is the script. (I hope it's clear!)
#!/usr/local/bin/perl
#This script will be called using the "POST" method,
#contained in a HREF that the
#site visitor clicked on.
#The call will contain an argument, which will
#be
--- Lee Hoffner <[EMAIL PROTECTED]> wrote:
> 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 tryin
st 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
--- Lee Hoffner <[EMAIL PROTECTED]> wrote:
> 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
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? (E