Re: Strange exit error

2000-09-26 Thread Doug MacEachern
On Sat, 19 Aug 2000, Ron Pero wrote: Am running In PerlRun $ENV{MOD_PERL} = mod_perl/1.21 This is perl, version 5.005_03 built for i386-freebsd It is on iserver, which has a virtual root system Am also running dbi. When the script calls "exit", it produces an error: at

Strange exit error

2000-08-19 Thread Ron Pero
Am running In PerlRun $ENV{MOD_PERL} = mod_perl/1.21 This is perl, version 5.005_03 built for i386-freebsd It is on iserver, which has a virtual root system Am also running dbi. When the script calls "exit", it produces an error: at /usr/local/etc/httpd/cgi-bin/myscript.cgi line 366. line 366

Re: Strange exit error

2000-08-19 Thread Stas Bekman
On Sat, 19 Aug 2000, Ron Pero wrote: Am running In PerlRun $ENV{MOD_PERL} = mod_perl/1.21 This is perl, version 5.005_03 built for i386-freebsd It is on iserver, which has a virtual root system Am also running dbi. When the script calls "exit", it produces an error: at

RE: Strange exit error

2000-08-19 Thread Ron Pero
Dear Stas Thank you very much for your reply! It is the exit line -- I had isolated that with print statements. Could a "require" cause a problem? Main script requires another script; the other script calls a subroutine in the main script, which calls the exit. I added the carp lines you

Re: Strange exit error

2000-08-19 Thread Stas Bekman
Hmm, can you reproduce the same problem with a simple test script and send it to the list? I don't want to take up your time with my problems, so if I can't get this going under mod_perl I'll revert to cgi (it's not really a high volume site -- yet). Get the same result with Apache::exit.