Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Depending on which version of perl you got, you will get one of the following from perldoc -q 500
My CGI script runs from the command line but not the browser.  (500 Server Error)
          Several things could be wrong. You can go through the
          "Troubleshooting Perl CGI scripts" guide at

                  http://www.perl.org/troubleshooting_CGI.html

          If, after that, you can demonstrate that you've read the FAQs
          and that your problem isn't something simple that can be easily
          answered, you'll probably receive a courteous and useful reply
          to your question if you post it on
          comp.infosystems.www.authoring.cgi (if it's something to do with
          HTTP or the CGI protocols). Questions that appear to be Perl
          questions but are really CGI ones that are posted to
          comp.lang.perl.misc are not so well received.

          The useful FAQs, related documents, and troubleshooting guides
          are listed in the CGI Meta FAQ:

                  http://www.perl.org/CGI_MetaFAQ.html
older
 My CGI script runs from the command line but not the browser.  (500 Server Error)
           If you can demonstrate that you've read the following FAQs and
           that your problem isn't something simple that can be easily
           answered, you'll probably receive a courteous and useful reply
           to your question if you post it on
           comp.infosystems.www.authoring.cgi (if it's something to do with
           HTTP, HTML, or the CGI protocols). Questions that appear to be
           Perl questions but are really CGI ones that are posted to
           comp.lang.perl.misc may not be so well received.

           The useful FAQs and related documents are:

               CGI FAQ
                   http://www.webthing.com/tutorials/cgifaq.html

               Web FAQ
                   http://www.boutell.com/faq/

               WWW Security FAQ
                   http://www.w3.org/Security/Faq/

               HTTP Spec
                   http://www.w3.org/pub/WWW/Protocols/HTTP/

               HTML Spec
                   http://www.w3.org/TR/REC-html40/
                   http://www.w3.org/pub/WWW/MarkUp/

               CGI Spec
                   http://www.w3.org/CGI/

               CGI Security FAQ
                   http://www.go2net.com/people/paulp/cgi-security/safe-cgi.txt
This should be the first response to every question dealing with perl and error 500. The 2nd response should be "where's the sourcecode?"

In reply to Re: Re: On debugging "Premature End of Script" errors by Anonymous Monk
in thread Premature End of Script Headers Reasons? by justanyone

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (12)
    As of 2014-10-30 13:27 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      For retirement, I am banking on:










      Results (208 votes), past polls