diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-30 07:48:59 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-30 07:48:59 +0000 |
commit | abc718f2ca5cfe66c838e1324c1c153a085fea8b (patch) | |
tree | 23211c9fc93b1552429344d0efc4a0a611dd54ac /pod | |
parent | 37723ebb3f0f145b85438cb89891a2c80a5f149e (diff) | |
download | perl-abc718f2ca5cfe66c838e1324c1c153a085fea8b.tar.gz |
Add two deprecation warnings:
Opening dirhandle %s also as a file
Opening filehandle %s also as a directory
p4raw-id: //depot/perl@30780
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index b80331d555..eeef207c14 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2836,6 +2836,20 @@ that isn't open. Check your control flow. See also L<perlfunc/-X>. (S internal) An internal warning that the grammar is screwed up. +=item Opening dirhandle %s also as a file + +(W 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. + +=item Opening filehandle %s also as a directory + +(W io deprecated) You used opendir() to associate a dirhandle to +a symbol (glob or scalar) that already holds a filehandle. +Although legal, this idiom might render your code confusing +and is deprecated. + =item Operation "%s": no method found, %s (F) An attempt was made to perform an overloaded operation for which no |