summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/attributes.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl/lib/attributes.pm')
-rw-r--r--Master/tlpkg/tlperl/lib/attributes.pm11
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