Hello,

I am running ePerl on my Apache server and a little problem has been 
bugging me a lot. When I do a die "blah blah blah" inside a eval I get 
the following in my browser. It doesnt matter which browser I use or 
which version of apache I use or which version of Apache::ePerl I use.

--------------------
Apache::ePerl
Version 2.0214

ERROR:
Error on evaluating script from P-code

Contents of STDERR channel:

blah blah blah at /xxxx/tmp/test.html line 2.
--------------------

logs/error_log says

--------------------
[Sat Jan 19 11:23:01 2002] [error] access to /xxxx/tmp/test.html failed 
for xx.xx.xx.xx, reason: Apache::ePerl: Error on evaluating script from 
P-code
--------------------

I would like to know a couple of things in this context :
1. Is die supposed to be handled by ePerl/EmbPerl/Mason ... or did ePerl 
end up over ridding something. In that case I would rather have it 
restored to the default.
2. How do I implement a solution throughout the site without having to 
do goofy stuff in every HTML page or module.
3. Why would anyone do that in the first place ?

Before anyone suggests it - no I cant move to EmbPerl or Mason or 
anything else.

ePerl can be found as Apache::ePerl on cpan or 
http://www.engelschall.com/sw/eperl/ . I wouldnt know if Engelschall is 
on this list but if he is - feedback would be highly appreciated :). 
Also I wonder whether it has been abandoned or renamed since nothing has 
changed since 02-08-1998 (8th Feb ??). The latest version isnt on CPAN 
either.



Mithun

Reply via email to