From 6df90160c74ffda9ef646bc3fa7d21f27ad306e6 Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Tue, 14 Jan 2014 09:13:53 -0500 Subject: [PATCH] perldelta for experimental::autoderef --- pod/perldelta.pod | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index bc006e6..a506c56 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -241,7 +241,24 @@ XXX L =item * -XXX L +%s on a reference is now experimental + +The "auto-deref" feature is now experimental. + +Starting in v5.14.0, it was possible to use push, pop, keys, and other +built-in functions not only on aggregate types, but on references to +them. The feature was not deployed to its original intended +specification, and now may become redundant to postfix dereferencing. +It has always been categorized as an experimental feature, and in +v5.20.0 is carries a warning as such. + +Warnings will now be issued at compile time when these operations are +detected. + + no if $] >= 5.01908, warnings => "experimental::autoderef"; + +Consider, though, replacing the use of these features, as they may +change behavior again before becoming stable. =item * -- 2.7.4