Why don't you try changing the die statement to a print statement...that
way you'll see the error in the browser...

open(inf,"tester.pl") or print "Error: $!\n";

-----Original Message-----
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:
> 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 in place, iirc .... so it *would* die
silently right then and there if the open() fails. (I was suggesting
that he include the '$!' bit so that there would be some announcement
accompanying such a death.)

Seems pretty strange to me ... but with IIS, it appears that anything is
possible :-)

Cheers,
Rob

_______________________________________________
Perl-Win32-Users mailing list [EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to