diff options
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 4 | ||||
-rw-r--r-- | pod/perlref.pod | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 9cd7344c76..2004760657 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -204,7 +204,9 @@ XXX Changes (i.e. rewording) of diagnostic messages go here =item * -XXX Describe change here +Accessing the C<IO> part of a glob as C<FILEHANDLE> instead of C<IO> is no +longer deprecated. It is discouraged to encourage uniformity (so that, for +example, one can grep more easily) but it will not be removed. [perl #127060] =back 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 |