From: Tom Phoenix Date: Fri, 10 Sep 1999 16:45:02 +0000 (-0700) Subject: [DOCPATCH] Server errors and perldiag X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3cdd684cc56891a581883637e5516109831c86b0;p=p5sagit%2Fp5-mst-13.2.git [DOCPATCH] Server errors and perldiag To: Perl Porters Mailing List Message-ID: p4raw-id: //depot/cfgperl@4134 --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 1c07a31..6147d2a 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1240,6 +1240,10 @@ just use C for example. C is too long for Perl to handle. You have to be seriously twisted to write code that triggers this error. +=item Did not produce a valid header + +See Server error. + =item Did you mean &%s instead? (W) You probably referred to an imported subroutine &FOO as $FOO or some such. @@ -1266,6 +1270,10 @@ to define the subroutine or package before the current location. You can use an empty "sub foo;" or "package FOO;" to enter a "forward" declaration. +=item Document contains no data + +See Server error. + =item Don't know how to handle magic of type '%s' (P) The internal handling of magical variables has been cursed. @@ -1742,6 +1750,10 @@ See L. (F) An attempt was made to specify an entry in an overloading table that doesn't resolve to a valid subroutine. See L. +=item Method %s not permitted + +See Server error. + =item Might be a runaway multi-line %s string starting on line %d (S) An advisory indicating that the previous error may have been caused @@ -2415,6 +2427,10 @@ and list operators. (The old open was a little of both.) You must put parentheses around the filehandle, or use the new "or" operator instead of "||". +=item Premature end of script headers + +See Server error. + =item print on closed filehandle %s (W) The filehandle you're printing on got itself closed sometime before now. @@ -2608,7 +2624,12 @@ See L. =item Server error -Also known as "500 Server error". +This is the error message generally seen in a browser window when trying +to run a CGI program (including SSI) over the web. The actual error +text varies widely from server to server. The most frequently-seen +variants are "500 Server error", "Method (something) not permitted", +"Document contains no data", "Premature end of script headers", and +"Did not produce a valid header". B.