summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-01-03 18:14:27 +0000
committerSteve Peters <steve@fisharerojo.org>2006-01-03 18:14:27 +0000
commit3b7fbd4a8e0aec57c7898a1775b0a17a345883de (patch)
treedb4f84c7aecc61014a34f99065a55cb225abd6cf /pod
parent8688788eaf75c1c6bc22e0fc68eafa35e6ef1f2b (diff)
downloadperl-3b7fbd4a8e0aec57c7898a1775b0a17a345883de.tar.gz
Attemting to readdir() something that isn't a dirhandle should cause
a warning. p4raw-id: //depot/perl@26617
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 54b42eb8e7..6b3ba31ba3 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -3353,6 +3353,11 @@ are outside the range which can be represented by integers internally.
One possible workaround is to force Perl to use magical string increment
by prepending "0" to your numbers.
+=item readdir() attempted on invalid dirhandle %s
+
+(W io) The dirhandle you're reading from is either closed or not really
+a dirhandle. Check your control flow.
+
=item readline() on closed filehandle %s
(W closed) The filehandle you're reading from got itself closed sometime