the core° pragma experimental says

The supported features, documented further below, are:

array_base - allow the use of $[ to change the starting index of @array autoderef - allow push, each, keys, and other built-ins on references lexical_topic - allow the use of lexical $_ via "my $_"

Though running the following code under 5.24 doesn't show any effect

use strict; use warnings; use experimental 'autoderef'; BEGIN { warn "@INC\n"; warn "$]\n"; } my $a=[]; push $a,1,2,3; warn "@$a";

out

c:/Perl_524/bin/\perl.exe d:/Users/RolfLangsdorf/AppData/Roaming/pm/e +xperimental_autoderef.pl c:/Perl_524/site/lib c:/Perl_524/lib . 5.024001 Experimental push on scalar is now forbidden at d:/Users/RolfLangsdorf +/AppData/Roaming/pm/experimental_autoderef.pl line 13, near "3;" Execution of d:/Users/RolfLangsdorf/AppData/Roaming/pm/experimental_au +toderef.pl aborted due to compilation errors.

I suppose this is a bug, though I'm wondering was there ever a useful application for

use experimental 'autoderef'; ?

AFAIK autoderef never needed to be activated.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

°) strange

~/pm $ corelist experimental Data for ????-??-?? experimental was first released with perl v5.19.11

but perldoc.perl.org doesn't list experimental

update

I know that auto deref was deprecated, but the mention in experimental doesn't make sense, because

That's very confusing


In reply to use experimental 'autoderef'; ??? by LanX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.