rlssdpm at schnapp.org
Fri Feb 25 23:52:36 CST 2000
> wtf??? Where the heck is die printing, anyway? And why
> work like (I think) it should?:
Actually, I'm not sure where STDERR is redirected to when invoked
by an httpd under CGI. STDOUT will end up going back to the
client's browser, which is why you need to emit the "content:"
header, or whatever, before you print anything else to STDOUT.
Reviewing die(), I see that "yipes!" will end up going to STDERR.
Perhaps that goes to the web server's error log. It sure would be
nice if you could get the the server to redirect it to STDOUT.
Then again, I guess there's nothing preventing you from redirecting
STDERR yourself, *before* doing anything hinky. Hmmmm...
Okay, I know how to do that in C. How do you do that in PERL?
The posting address is: san-diego-pm-list at hfb.pm.org
List requests should be sent to: majordomo at hfb.pm.org
If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:
If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.
More information about the San-Diego-pm