<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1013098" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1013098</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Difference between STDERR and STDOUT</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/need-little-help-die-function#comment-1076000</link>
    <description> &lt;p&gt;The &lt;strong&gt;die()&lt;/strong&gt; and &lt;strong&gt;warn()&lt;/strong&gt; functions print their messages to STDERR, not STDOUT.  And in a CGI program, STDERR is connected to the server&#039;s error log, and STDOUT is connected to the browser.&lt;/p&gt;
&lt;p&gt;Use the &lt;strong&gt;CGI::Carp&lt;/strong&gt; module:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;use CGI::Carp &amp;#039;fatalsToBrowser&amp;#039;;&lt;br /&gt;# guess what that does...&lt;br /&gt; &lt;br /&gt;die &amp;quot;oh no, Mr. Bill!&amp;quot;;&lt;br /&gt;# that gets sent to the error log AND the browser&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Sat, 23 Dec 2000 14:04:53 +0000</pubDate>
 <dc:creator>japhy</dc:creator>
 <guid isPermaLink="false">comment 1076000 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/need-little-help-die-function#comment-1075984</link>
    <description> &lt;p&gt;Well, I tried it without the &quot;&amp;lt;&quot; to still no avail. *sigh*&lt;/p&gt;
 </description>
     <pubDate>Sat, 23 Dec 2000 05:50:51 +0000</pubDate>
 <dc:creator>Vorm</dc:creator>
 <guid isPermaLink="false">comment 1075984 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>i dunno, what&#039;s your problem?</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/need-little-help-die-function#comment-1075981</link>
    <description> &lt;p&gt;Which reminds me of the dated &quot;what&#039;s your damage?&quot;, lol...&lt;/p&gt;
&lt;p&gt;open (HEH, &quot;nofile.html&quot;) or die &quot;\n\n\n Oh no! We are missing the most important file!  nofile.html! \n\n\n&quot;;&lt;/p&gt;
&lt;p&gt;I am a little melodramatic in my coding, yes.  &lt;/p&gt;
&lt;p&gt;Perhaps it can&#039;t find &quot;&lt;/p&gt;
 </description>
     <pubDate>Sat, 23 Dec 2000 05:17:29 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1075981 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
