Re: Net::Server - problem getting STDERR (or is it STDERR??)
- From: "Paul Lalli" <mritty@xxxxxxxxx>
- Date: 28 Aug 2006 10:21:24 -0700
shutterstock wrote:
So - I figured that if in procress_request() i was to call a procedure
that didn't exist... ie:
sub process_request {
&ksjdflksjdf;
}
then the error - "undefined subroutine &main::lsjdfklsjdf called at
./t.pl line xx." would go to STDERR.
It does.
But for some reason - this isn't true. I get other things to STDERR -
but for some reason this error message gets lost somewhere. Where does
it go?
You tell us. You haven't shown any code that does your STDERR
mangling.
The forked process should inherit the STDERR definition ... since
Net::Server redirects it to the logfile.
Any ideas why I'm not able to see this error message anywhere?
With the code you provided? No.
would a runtime error of that sort .. not go to STDERR?
No, it would not NOT go to STDERR.
perl -wc doesn't pick up this type of error either... as it
shouldn't. (it could be exported from another package).. so this is a
runtime error.. not compile time.. and it doesn't go to STDERR.
Yes it does.
Paul Lalli
.
- References:
- Net::Server - problem getting STDERR (or is it STDERR??)
- From: shutterstock
- Net::Server - problem getting STDERR (or is it STDERR??)
- Prev by Date: problem installing MATH::MATLAB module
- Next by Date: ANNOUNCE: Text-Bidi-0.01
- Previous by thread: Net::Server - problem getting STDERR (or is it STDERR??)
- Next by thread: Conditional compile if 64-bit cpu, in .xs ?
- Index(es):
Relevant Pages
|