summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2016-07-20 13:01:07 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2016-07-20 13:01:07 +0100
commitfb0f05f2353c65ed202032af752c353797cf04e6 (patch)
treed04ab7a36574c69b950dc0271745dfb3b0f96cff
parent68328fa624596a4e7038ec0736d62dcc9a6d93dc (diff)
downloadperl-fb0f05f2353c65ed202032af752c353797cf04e6.tar.gz
perldelta - Fill in New Diagnostics
-rw-r--r--pod/perldelta.pod27
1 files changed, 25 insertions, 2 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index c3be0aee39..9f4a6bea4e 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -123,7 +123,13 @@ diagnostic messages, see L<perldiag>.
=item *
-XXX L<message|perldiag/"message">
+L<The experimental declared_refs feature is not enabled|perldiag/"The experimental declared_refs feature is not enabled">
+
+(F) To declare references to variables, as in C<my \%x>, you must first enable
+the feature:
+
+ no warnings "experimental::declared_refs";
+ use feature "declared_refs";
=back
@@ -133,7 +139,24 @@ XXX L<message|perldiag/"message">
=item *
-XXX L<message|perldiag/"message">
+L<Declaring references is experimental|perldiag/"Declaring references is experimental">
+
+(S experimental::declared_refs) This warning is emitted if you use a reference
+constructor on the right-hand side of C<my()>, C<state()>, C<our()>, or
+C<local()>. Simply suppress the warning if you want to use the feature, but
+know that in doing so you are taking the risk of using an experimental feature
+which may change or be removed in a future Perl version:
+
+ no warnings "experimental::declared_refs";
+ use feature "declared_refs";
+ $fooref = my \$foo;
+
+=item *
+
+L<C<${^ENCODING}> is no longer supported|perldiag/"${^ENCODING} is no longer supported">
+
+(D deprecated) The special variable C<${^ENCODING}>, formerly used to implement
+the C<encoding> pragma, is no longer supported as of Perl 5.26.0.
=back