summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorTom Phoenix <rootbeer@teleport.com>1999-09-10 09:45:02 -0700
committerJarkko Hietaniemi <jhi@iki.fi>1999-09-13 10:20:14 +0000
commit3cdd684cc56891a581883637e5516109831c86b0 (patch)
treeeec43f2b71355c97d891de299bc8928067c418e3 /pod
parent8545b19a71bec2bf174ceba51982f52749a4822b (diff)
downloadperl-3cdd684cc56891a581883637e5516109831c86b0.tar.gz
[DOCPATCH] Server errors and perldiag
To: Perl Porters Mailing List <perl5-porters@perl.org> Message-ID: <Pine.GSO.4.10.9909101639490.16999-100000@user2.teleport.com> p4raw-id: //depot/cfgperl@4134
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod23
1 files changed, 22 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 1c07a31fa6..6147d2a41c 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1240,6 +1240,10 @@ just use C<if (%hash) { # not empty }> for example.
C<FOO> 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<perlsub/"Lvalue subroutines">.
(F) An attempt was made to specify an entry in an overloading table that
doesn't resolve to a valid subroutine. See L<overload>.
+=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<perlre>.
=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<This is a CGI error, not a Perl error>.