You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Brian Leech <bc...@po.cwru.edu> on 2000/07/11 00:49:03 UTC

Apache::ASP error_log message

I just compiled apache and mod_perl, and installed Apache::ASP.  Everytime 
I view an ASP page, I get an error like:

Subroutine exit redefined at (eval 35) line 1.

in my error_log.  Should this happen every time?

-Brian


Re: Apache::ASP error_log message

Posted by Joshua Chamas <jo...@chamas.com>.
Brian Leech wrote:
> 
> I just compiled apache and mod_perl, and installed Apache::ASP.  Everytime
> I view an ASP page, I get an error like:
> 
> Subroutine exit redefined at (eval 35) line 1.
> 
> in my error_log.  Should this happen every time?
> 
> -Brian

In a site's global perl namespace, in which all scripts
are executed, exit is aliased to $Response->End() with:

  sub exit { $main::Response->End(); }

This code is auto compiled as part of global.asa's code.

What platform do you have?  I have not seen this error 
message before, and I would like to work with you on
getting rid of it.

Note that this error could become fatal with the UseStrict 
setting, causing your scripts to not even run.

-- Joshua
_________________________________________________________________
Joshua Chamas			        Chamas Enterprises Inc.
NodeWorks >> free web link monitoring	Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Re: Apache::ASP error_log message

Posted by Brian Leech <bc...@po.cwru.edu>.
Never mind, it seems to have fixed itself with a server restart.

-Brian

>I just compiled apache and mod_perl, and installed Apache::ASP.  Everytime 
>I view an ASP page, I get an error like:
>
>Subroutine exit redefined at (eval 35) line 1.
>
>in my error_log.  Should this happen every time?

--
Brian Leech
bcl3@po.cwru.edu
ICQ UIN: 1355611