diff options
author | Abigail <abigail@abigail.be> | 2016-11-14 17:26:42 +0100 |
---|---|---|
committer | Abigail <abigail@abigail.be> | 2017-01-16 19:18:10 +0100 |
commit | c4d8d6a210eeb43ce8a86793561fb5c56d47f482 (patch) | |
tree | dbfb7b8dfc1cf5ef397a2e6d557d43106cbbed9d /pod/perldiag.pod | |
parent | 892fc9e0623e70ccee84620a1ce94aa95c731ab5 (diff) | |
download | perl-c4d8d6a210eeb43ce8a86793561fb5c56d47f482.tar.gz |
Move discussion of using tie and friends on * less scalars which hold globs
This was deprecated in 5.14, and fixed in 5.16. Hence, it's moved out
of pod/perldiag.pod, and added to pod/perldeprecation.pod.
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index bd9814ce54..cbdcda6d63 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -7018,17 +7018,6 @@ old way has bad side effects. it already went past any symlink you are presumably trying to look for. The operation returned C<undef>. Use a filename instead. -=item Use of %s on a handle without * is deprecated - -(D deprecated) You used C<tie>, C<tied> or C<untie> on a scalar but that scalar -happens to hold a typeglob, which means its filehandle will be tied. If -you mean to tie a handle, use an explicit * as in C<tie *$handle>. - -This was a long-standing bug that was removed in Perl 5.16, as there was -no way to tie the scalar itself when it held a typeglob, and no way to -untie a scalar that had had a typeglob assigned to it. If you see this -message, you must be using an older version. - =item Use of reference "%s" as array index (W misc) You tried to use a reference as an array index; this probably |