Net::Server - problem getting STDERR (or is it STDERR??)



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.

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?

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?

would a runtime error of that sort .. 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.

Jon

.



Relevant Pages

  • Re: [PATCH] kconfig: display an error message when aborting
    ... there should be an error message shown since we're going ... the reason for the failure ... I agree that there definitely needs to be some error reporting (and not ... create my own format and fprintfdirectly to stderr. ...
    (Linux-Kernel)
  • Re: Too bad tcl_trace* goes to stdout...
    ... Is there a good reason for tcl_traceExec and tcl_traceCompile to write ... In this context, it is impossible, since the traces on stdout wreak ... then I'll TIP for an direct fix: use stderr for these ... Consider one Tcl script execing another. ...
    (comp.lang.tcl)
  • Too bad tcl_trace* goes to stdout...
    ... Is there a good reason for tcl_traceExec and tcl_traceCompile to write ... In this context, it is impossible, since the traces on stdout wreak ... then I'll TIP for an direct fix: use stderr for these ...
    (comp.lang.tcl)
  • Re: function system() from stdlib.h
    ... fflush(stderr); ... Is there a specific reason for doing while(... ... ); other than readability? ...
    (comp.lang.c)
  • Re: Net::Server - problem getting STDERR (or is it STDERR??)
    ... ./t.pl line xx." would go to STDERR. ... But for some reason - this isn't true. ... Any ideas why I'm not able to see this error message anywhere? ...
    (comp.lang.perl.modules)