In perl.git, the branch abigail/deprecation has been updated <http://perl5.git.perl.org/perl.git/commitdiff/ec19e9626e764ba25c4b1d28c11d7e24b1d36184?hp=ae0371a8468921a97f56e32636efa6baaabb2093>
- Log ----------------------------------------------------------------- commit ec19e9626e764ba25c4b1d28c11d7e24b1d36184 Author: Abigail <[email protected]> Date: Wed Nov 16 00:20:31 2016 +0100 Be consistent when addressing Perl. In perldeprecation.pod, when referring to a particular perl version, use "Perl 5.XX" (or "Perl 5.00X" for pre-5.6 versions) consistently. ----------------------------------------------------------------------- Summary of changes: pod/perldeprecation.pod | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pod/perldeprecation.pod b/pod/perldeprecation.pod index a70fe7b..422dc1b 100644 --- a/pod/perldeprecation.pod +++ b/pod/perldeprecation.pod @@ -23,9 +23,9 @@ C<< bsd_glob >>. However, its prototype is different from the prototype of C<< CORE::glob >>, and hence, C<< File::Glob::glob >> should not be used. -C<< File::Glob::glob() >> was deprecated in perl 5.8. A deprecation -message was issued from perl 5.26 onwards, and the function will -disappear in perl 5.30. +C<< File::Glob::glob() >> was deprecated in Perl 5.8. A deprecation +message was issued from Perl 5.26 onwards, and the function will +disappear in Perl 5.30. Code using C<< File::Glob::glob() >> should call C<< File::Glob::bsd_glob() >> instead. @@ -48,11 +48,11 @@ them will not influence the behaviour of your code. =head3 Use of C<< *glob{FILEHANDLE} >> -The use of C<< *glob{FILEHANDLE} >> was deprecated in perl 5.8. +The use of C<< *glob{FILEHANDLE} >> was deprecated in Perl 5.8. The intention was to use C<< *glob{IO} >> instead, for which C<< *glob{FILEHANDLE} >> is an alias. -However, this feature was undeprecated in perl 5.24. +However, this feature was undeprecated in Perl 5.24. =head3 Calling POSIX::%s() is deprecated @@ -62,7 +62,7 @@ C<isprint>, C<ispunct>, C<isspace>, C<isupper>, and C<isxdigit>. The functions are buggy and don't work on UTF-8 encoded strings. See their entries in L<POSIX> for more information. -The functions were deprecated in perl 5.20, and removed in perl 5.24. +The functions were deprecated in Perl 5.20, and removed in Perl 5.24. =head2 Perl 5.16 @@ -74,7 +74,7 @@ while the scalar holds a typeglob. This caused its filehandle to be tied. It left 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. -This was deprecated in perl 5.14, and the bug was fixed in perl 5.16. +This was deprecated in Perl 5.14, and the bug was fixed in Perl 5.16. So now C<tie $scalar> will always tie the scalar, not the handle it holds. To tie the handle, use C<tie *$scalar> (with an explicit asterisk). The same -- Perl5 Master Repository
