Looks like a doc bug:

perl -v This is perl 5, version 24, subversion 1 (v5.24.1)

On the CLI:

perldoc experimental

After searching for "autoderef":

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 refere +nces ...

Online, however, searching for "perldoc experiment" (resulting doc: experiment):

Array and hash container functions accept references Using this feature triggered warnings in the category experimental::au +toderef . Superseded by Postfix dereference syntax. Introduced in Perl 5.14.0 Removed in Perl 5.24.0

There was definitely a good long period where autoderef was in play, but there was the postderef camp as well. The fight was won by the postderef camp. It was a drawn out ordeal ;)

update: I may be missing what you're getting at here, but either way, something doesn't line up.

updte2: Since it was so long ago, I don't recall the arguments on each side I had, but iirc, postderef was better for longevity, but I'm still old-school. I write all of my code so it runs on 5.8.9... no magic for me.


In reply to Re: use experimental 'autoderef'; ??? by stevieb
in thread 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.