> From: Sisyphus [mailto:kalinabears@;hdc.com.au]
> Sent: Friday, October 18, 2002 7:45 AM
> To: Perl-Win32-Users
> Subject: Re: CGI on iis5 question
>
>
>
> - Original Message -
> From: "Tillman, James" <[EMAIL PROTECTED]>
>
> > Mike:
&g
8, 2002 7:45 AM
To: Perl-Win32-Users
Subject: Re: CGI on iis5 question
- Original Message -
From: "Tillman, James" <[EMAIL PROTECTED]>
> Mike:
> Rob's on the right track here with his response, but remember that
> open() does not die when it fails (all the more
- Original Message -
From: "Tillman, James" <[EMAIL PROTECTED]>
> Mike:
> Rob's on the right track here with his response, but remember that open()
> does not die when it fails (all the more reason to do what Rob suggests
and
> put the die call in there).
But he already has a 'die' call
Have your die statement print a message. In IIS 5 the current working
directory is NOT the script directory but the root of the web. Let's
say your main script and tester.pl are in cgi-bin, as in
http://webserver/cgi-bin/main.pl
your open statement should be
open(inf, "cgi-bin/tester.pl") or
> > Hello,
> > Very simple script, opens a file, reads it into an array,
> and then it
> > "should" display it to the browser. But it's not, and I'm
> at a loss why.
> > It works command line fine. But not via the web. Using
> ActiveState build
> > 633 (perl -v = v5.6.1)
> >
> > IIS5 entries a
- Original Message -
From: "Mike Kalinovich" <[EMAIL PROTECTED]>
To: "Perl-Win32-Users" <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 11:10 AM
Subject: CGI on iis5 question
> Hello,
> Very simple script, opens a file, reads it into an array, and then it
> "should" display it to the