it's nice to have each problem in a separate thread. thanks.

Kurt George Gjerde wrote:
> BTW: I've fixed my "can't coerce GLOB to string" problem I had last week.
> Was unrelated to mod_perl (sorry). It seems XML::LibXSLT produced some
> errors which went straight to STDERR. Under CGI these ends up in the
> error_log but under mod_perl it seems STDERR is just a black hole (?).
> Would it be possible to map STDERR to log_error()?

Unless I'm missing something, mod_perl doesn't do anything special with STDERR (it does tie STDIN and STDOUT for 'perl-script' handlers). Apache opens stderr to error_log, and then everything just works. e.g. if you do:

warn "Foo";
or
print STDERR "OOOPS\n";

this ends up in error_log, no?

I suppose that XML::LibXSLT redefines STDERR then. Try to see what it does to create this problem.


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to