diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-08 00:16:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-08 00:16:42 +0000 |
commit | 34a8597760ab5740abd49b6d8be10e1876f5ce98 (patch) | |
tree | 099a794912a28b3ebbc857961643ba29b28e674a /Master/tlpkg/tlperl/lib/attributes.pm | |
parent | 2ca3610031316a7312d046d3ae4c783452831216 (diff) |
(tl)perl 5.26.1 from siep
git-svn-id: svn://tug.org/texlive/trunk@46882 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlperl/lib/attributes.pm')
-rw-r--r-- | Master/tlpkg/tlperl/lib/attributes.pm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/tlpkg/tlperl/lib/attributes.pm b/Master/tlpkg/tlperl/lib/attributes.pm index f7af31b7b4c..7eb8e30ed88 100644 --- a/Master/tlpkg/tlperl/lib/attributes.pm +++ b/Master/tlpkg/tlperl/lib/attributes.pm @@ -1,6 +1,6 @@ package attributes; -our $VERSION = 0.27; +our $VERSION = 0.29; @EXPORT_OK = qw(get reftype); @EXPORT = (); @@ -38,7 +38,8 @@ sub _modify_attrs_and_deprecate { grep { $deprecated{$svtype} && /$deprecated{$svtype}/ ? do { require warnings; - warnings::warnif('deprecated', "Attribute \"$1\" is deprecated"); + warnings::warnif('deprecated', "Attribute \"$1\" is deprecated, " . + "and will disappear in Perl 5.28"); 0; } : $svtype eq 'CODE' && exists $msg{$_} ? do { require warnings; @@ -258,7 +259,8 @@ attribute will be sanity checked at compile time. =item locked The "locked" attribute is deprecated, and has no effect in 5.10.0 and later. -It was used as part of the now-removed "Perl 5.005 threads". +It was used as part of the now-removed "Perl 5.005 threads". It will +disappear in Perl 5.28, after which its use will be fatal. =item const @@ -283,7 +285,8 @@ when used in conjunction with the L<threads> and L<threads::shared> modules. The "unique" attribute is deprecated, and has no effect in 5.10.0 and later. It used to indicate that a single copy of an C<our> variable was to be used by all interpreters should the program happen to be running in a -multi-interpreter environment. +multi-interpreter environment. It will disappear in 5.28, after which its +use will be fatal. =back |