@@ -674,6 +674,20 @@ version.
674
674
(F) A subroutine invoked from an external package via call_sv()
675
675
exited by calling exit.
676
676
677
+ =item %s() attempted on invalid dirhandle %s
678
+
679
+ (W io) You called readdir(), telldir(), seekdir(), rewinddir() or
680
+ closedir() on a handle that has not been opened, or is now closed. A
681
+ handle must be successfully opened with opendir() to be used with
682
+ these functions. Check your control flow.
683
+
684
+ =item %s() attempted on handle %s opened with open()
685
+
686
+ (W io) You called readdir(), telldir(), seekdir(), rewinddir() or
687
+ closedir() on a handle that was opened with open(). If you want to
688
+ use these functions to traverse the contents of a directory, you need
689
+ to open the handle with opendir().
690
+
677
691
=item %s() called too early to check prototype
678
692
679
693
(W prototype) You've called a function that has a prototype before the
@@ -1883,11 +1897,6 @@ keyword.
1883
1897
1884
1898
(F) Creating a new thread inside the C<s///> operator is not supported.
1885
1899
1886
- =item closedir() attempted on invalid dirhandle %s
1887
-
1888
- (W io) The dirhandle you tried to close is either closed or not really
1889
- a dirhandle. Check your control flow.
1890
-
1891
1900
=item close() on unopened filehandle %s
1892
1901
1893
1902
(W unopened) You tried to close a filehandle that was never opened.
@@ -5646,11 +5655,6 @@ range, and at least one of the end points is a decimal digit. Under the
5646
5655
stricter rules, when this happens, both end points should be digits in
5647
5656
the same group of 10 consecutive digits.
5648
5657
5649
- =item readdir() attempted on invalid dirhandle %s
5650
-
5651
- (W io) The dirhandle you're reading from is either closed or not really
5652
- a dirhandle. Check your control flow.
5653
-
5654
5658
=item readline() on closed filehandle %s
5655
5659
5656
5660
(W closed) The filehandle you're reading from got itself closed sometime
@@ -5851,11 +5855,6 @@ for the character.
5851
5855
(W syntax) You wrote your assignment operator backwards. The = must
5852
5856
always come last, to avoid ambiguity with subsequent unary operators.
5853
5857
5854
- =item rewinddir() attempted on invalid dirhandle %s
5855
-
5856
- (W io) The dirhandle you tried to do a rewinddir() on is either closed
5857
- or not really a dirhandle. Check your control flow.
5858
-
5859
5858
=item Scalars leaked: %d
5860
5859
5861
5860
(S internal) Something went wrong in Perl's internal bookkeeping
@@ -5905,11 +5904,6 @@ construct, not just the empty search pattern. Therefore code written
5905
5904
in Perl 5.10.0 or later that uses the // as the I<defined-or> can be
5906
5905
misparsed by pre-5.10.0 Perls as a non-terminated search pattern.
5907
5906
5908
- =item seekdir() attempted on invalid dirhandle %s
5909
-
5910
- (W io) The dirhandle you are doing a seekdir() on is either closed or not
5911
- really a dirhandle. Check your control flow.
5912
-
5913
5907
=item %sseek() on unopened filehandle
5914
5908
5915
5909
(W unopened) You tried to use the seek() or sysseek() function on a
@@ -6494,11 +6488,6 @@ know about your kind of stdio. You'll have to use a filename instead.
6494
6488
(F) You tried to use C<goto> to reach a label that was too deeply nested
6495
6489
for Perl to reach. Perl is doing you a favor by refusing.
6496
6490
6497
- =item telldir() attempted on invalid dirhandle %s
6498
-
6499
- (W io) The dirhandle you tried to telldir() is either closed or not really
6500
- a dirhandle. Check your control flow.
6501
-
6502
6491
=item tell() on unopened filehandle
6503
6492
6504
6493
(W unopened) You tried to use the tell() function on a filehandle that
0 commit comments