Re: active perl on IIS

2001-09-02 Thread Lynn Glessner
I spoke too soon. I thought this was just a minor tweak, which it probably is ;), but the tweak is not what I thought it was going to be ... When I click the button to submit the form, instead of running the perl script I get the "File Download" dialog. If I choose the "run the file from this loc

Re: param('$name') syntax......?

2001-09-02 Thread Curtis Poe
--- "Simon K. Chan" <[EMAIL PROTECTED]> wrote: > Hey Everybody, > > I have the following code: > > $k = 0; > foreach $item (@array){ > > print "$item"; > > print qq{}; > > ++$k; > } > > print qq{}; > > What is the proper syntax to see if the checkbox had been checked or not? > I've tried th

param('$name') syntax......?

2001-09-02 Thread Simon K. Chan
Hey Everybody, I have the following code: $k = 0; foreach $item (@array){ print "$item"; print qq{}; ++$k; } print qq{}; What is the proper syntax to see if the checkbox had been checked or not? I've tried this: my $check = param('$k'); if ($check eq "on"){ print "check!"; } Doesn't se

Re: active perl on IIS

2001-09-02 Thread Lynn Glessner
Wo-hoo! My script is now working. Here is what I had to do: 1. The same thing that I have spent several days of my life on when you add up all the times I have done this to myself - the mysterious way that text files on not quite the same on a different OS. (Last time was the other way around -

Re: active perl on IIS

2001-09-02 Thread Gunther Birznieks
At 02:59 PM 9/2/2001 -0700, Lynn Glessner wrote: >I haven't had a chance to work on it recently, but I think it will turn out >to be the .cgi extension (I'll have to go back and see who suggested that). >I have my scripts in a directory which was created automatically called >"scripts" a subdirecc

Re: active perl on IIS

2001-09-02 Thread Lynn Glessner
I haven't had a chance to work on it recently, but I think it will turn out to be the .cgi extension (I'll have to go back and see who suggested that). I have my scripts in a directory which was created automatically called "scripts" a subdirecctory of c:\inetpub - IIS has it configured for execut

RE: active perl on IIS

2001-09-02 Thread yahoo
Hi Gunther, I think Lynn said she was looking for a book which covered IIS & PerlScript - the OReilly win32 book is good for that (going hand-in-hand with ActiveStates latest documentation of course!). I don't think IIS normally pre-creates a cgi-bin for you - none of my installations have one (h

Re: Win32 Apache and Perl

2001-09-02 Thread Brett W. McCoy
On Sun, 2 Sep 2001, Gunther Birznieks wrote: > >I stand corrected then! Does Apache interpret the shebang line before > >running the script? I've had problems with Apache *requiring* the correct > >drive and pathname for other things in its configuration under Win32. > > I believe it does. But

Re: Win32 Apache and Perl

2001-09-02 Thread Shannon Murdoch
Thanks Gunther, Brett used too many new jargon-sounding words in one sentence, but I appreciate his willingness to help. Simply copying perl.exe to a new directory (c:/usr/bin/) works like a charm! Now I can use my scripts on all my my hosts (until one decides they want to use the windoze sheban

Re: Win32 Apache and Perl

2001-09-02 Thread Shannon Murdoch
Thanks Gunther, Brett used too many new jargon-sounding words in one sentence, but I appreciate his willingness to help. Simply copying perl.exe to a new directory (c:/usr/bin/) works like a charm! Now I can use my scripts on all my my hosts (until one decides they want to use the windoze sheban