diff options
author | Ricardo Signes <rjbs@cpan.org> | 2015-12-31 21:54:49 -0500 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2016-01-02 19:41:03 -0500 |
commit | 83677dc5596295a5b5095063d96f95de3735933a (patch) | |
tree | f252031e379359e5842677f3836b92018a54f3a7 /pod/perlref.pod | |
parent | cb21ff4630e9dc4048595dd175a4ee716bd54ba2 (diff) | |
download | perl-83677dc5596295a5b5095063d96f95de3735933a.tar.gz |
*glob{FILEHANDLE} is no longer deprecated
We are now trying to use deprecation warnings only when we believe
that a behavior will really be removed or made an error. Since we
don't plan to do that with *glob{FILEHANDLE}, the warning is not
useful and may be harmful.
See discussion at [perl #127060].
Diffstat (limited to 'pod/perlref.pod')
-rw-r--r-- | pod/perlref.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perlref.pod b/pod/perlref.pod index 5804c174bf..e64abe4360 100644 --- a/pod/perlref.pod +++ b/pod/perlref.pod @@ -272,8 +272,9 @@ the IO handle, used for file handles (L<perlfunc/open>), sockets (L<perlfunc/socket> and L<perlfunc/socketpair>), and directory handles (L<perlfunc/opendir>). For compatibility with previous versions of Perl, C<*foo{FILEHANDLE}> is a synonym for C<*foo{IO}>, though it -is deprecated as of 5.8.0. If deprecation warnings are in effect, it will warn -of its use. +is discouraged, to encourage a consistent use of one name: IO. On perls +between v5.8 and v5.22, it will issue a deprecation warning, but this +deprecation has since been rescinded. C<*foo{THING}> returns undef if that particular THING hasn't been used yet, except in the case of scalars. C<*foo{SCALAR}> returns a reference to an |