Skip to content

Commit

Permalink
perldiag: ‘Opening dirhandle also as file’ is a default warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Father Chrysostomos committed Jun 27, 2012
1 parent 35f0cd7 commit 713e261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod/perldiag.pod
Expand Up @@ -3360,7 +3360,7 @@ that isn't open. Check your control flow. See also L<perlfunc/-X>.

=item Opening dirhandle %s also as a file

(W io, deprecated) You used open() to associate a filehandle to
(D io, deprecated) You used open() to associate a filehandle to
a symbol (glob or scalar) that already holds a dirhandle.
Although legal, this idiom might render your code confusing
and is deprecated.
Expand Down

0 comments on commit 713e261

Please sign in to comment.