yosefm has asked for the wisdom of the Perl Monks concerning the following question:
I'm working on a CGI script that runs through apache server. So far there was nothing wrong with it. But when I tried calling it with parameters, It ignored error messages. Unless I told it to die.
When I did this:
print STDERR "$mtype $mode";
nothing showed up in my error log.
But when I said: print STDERR "I'm dying " and die "horribly";
I did get in my err log - "I'm dying horribly".
What's up with that?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: STDERR ignored?
by gellyfish (Monsignor) on Jun 21, 2003 at 09:26 UTC | |
by yosefm (Friar) on Jun 21, 2003 at 09:33 UTC | |
by gellyfish (Monsignor) on Jun 21, 2003 at 10:08 UTC | |
|
Re: STDERR ignored?
by fglock (Vicar) on Jun 21, 2003 at 18:48 UTC | |
by yosefm (Friar) on Jun 23, 2003 at 14:42 UTC |