Hi All,
When testing my CGI scripts on a local machine, anything printed to STDERR seems to end up in my browser. Such as output from tests ran with Test::Harness::Straps.
I've also had this happen with some client machines (Fedora I think), but on others the STDERR doesn't end up in the browser, I think it goes straight to the error log.
I've no idea how to control where the STDERR info goes to. In some situations, I wan't it to go to the browser (such as tests with Test::Harness::Straps), other times I want it to go to the error log.
I this something that is set and controled somehow with Perl? Or is it a setting on the webserver (IIS and Apache)?
Thanks for any pointers
Lyle
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.