It just return the error to the browser. "Can't locate drive://dir/file.ext in @INC" But, when I dont use eval PerlIS crashes and that is not normal.
----- Mensaje Original ----- Fecha: 08/Ene/2004 04:36:05 PM De: [EMAIL PROTECTED] Para: [EMAIL PROTECTED], [EMAIL PROTECTED] Asunto: RE: RE: Perl 5.8 IIS 5.0 hangs on script failure >What happens if you enclose the require in an eval{} block? > >Peter Guzis >Web Administrator, Sr. >ENCAD, Inc. >- A Kodak Company >email: [EMAIL PROTECTED] >www.encad.com > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, January 08, 2004 4:32 PM >To: Peter Guzis; [EMAIL PROTECTED] >Subject: Re: RE: Perl 5.8 IIS 5.0 hangs on script failure > > > > >----- Mensaje Original ----- >Fecha: 08/Ene/2004 03:28:11 PM >De: [EMAIL PROTECTED] >Para: [EMAIL PROTECTED] >Asunto: RE: Perl 5.8 IIS 5.0 hangs on script failure > >>What are you trying to require? > >Nothing in particular... >Just that when I use ''require'' and call an external script and for some reason I >misstype the name of the external script, then instead of getting the error printed >, Perl hangs and I have to restart IIS in order to make it work again. > > >> >>Peter Guzis >>Web Administrator, Sr. >>ENCAD, Inc. >>- A Kodak Company >>email: [EMAIL PROTECTED] >>www.encad.com >> >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >>Sent: Thursday, January 08, 2004 3:13 PM >>To: [EMAIL PROTECTED]; [EMAIL PROTECTED] >>Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] >>Subject: Re: Perl 5.8 IIS 5.0 hangs on script failure >> >> >>>what is the exact build number for ActivePerl? the latest is 808. Also, >>>does this occur on any script ie something as simple as: >>> >>># start code >>>use strict; >>>use CGI; >>> >>>my $page = new CGI; >>> >>># print header and start the markup output >>> >>>print $page->header( ''text/html'' ); >>>print $page->start_html( ''hello from perl cgi!'' ); >>>print $page->h2(''hello dave...''); >>>print $page->end_html; >>> >>># end code >> >>Build is 808. At the time this occurs only when using ''require'', which I use >a >>lot. >> >> >>>it also looks like you are using ISAPI - does this only occur with ISAPI >>>or is perl.exe causing problems as well? >> >>Yes, this happens only when using PerlIS (Perl ISAPI) >> >>By now I have turned off ISAPI and went back to Perl.exe. But I would really like > >>to know what is the reason why PerlIS behaves like this in this version of Perl. >> >>If someone has the answer please let me know. >> >>Thanks in advance >>_______________________________________________ >>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 >> >> >> > > > _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs