summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-07-25 16:14:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-07-25 16:14:39 +0000
commitca30992f0a6aba514ace6cc49000c6f5f9a9948b (patch)
treec9c03b9536f56e3dc3b604e8c6c36bf9c0ab5f2e /pod
parent81c6dfba30e15b4c66bffa9d05458e72734d0c34 (diff)
parent2135512ed9c202c6f2dec388d70c8833fa0bbfb1 (diff)
downloadperl-ca30992f0a6aba514ace6cc49000c6f5f9a9948b.tar.gz
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@3742
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index f5717c5a7b..b3265ffb74 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -74,6 +74,16 @@ C<'>-delimited regular expression.
by parentheses turns into a function, with all the list operators arguments
found inside the parentheses. See L<perlop/Terms and List Operators (Leftward)>.
+=item %s() called too early to check prototype
+
+(W) You've called a function that has a prototype before the parser saw a
+definition or declaration for it, and Perl could not check that the call
+conforms to the prototype. You need to either add an early prototype
+declaration for the subroutine in question, or move the subroutine
+definition ahead of the call to get proper prototype checking. Alternatively,
+if you are certain that you're calling the function correctly, you may put
+an ampersand before the name to avoid the warning. See L<perlsub>.
+
=item %s argument is not a HASH element
(F) The argument to exists() must be a hash element, such as