You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2005/01/03 10:09:22 UTC

RE: Embperl2, mod-perl2, apache2: warnings in different error_logs

> 
> The splitted erros disapear in both cases, only Embperl logs 
> "warn" to vhost-error_log.
> 
> Maybe something in Embperl redefined "warn" from CORE::warn 
> to another one which Embperl::Object does not?
> 

In Embperl/Object line 142 (top of Execute function) try to add

Local $SIG{__WARN__} = \&Embperl::Warn ;


Does it behave like you expect now?

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org