in reply to use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20

my @in = ( 2, 3 ); my @out = ( 1, \@in, 4 ); my $r = \@out; $r = [ 1, [ 2, 3 ], 4 ]; $r->[1]->@*; # equivalent to @{ $r->[1] } # equivalent to @{ $out[1] } # equivalent to @{ \@in } [download]

How does that answers if $r->[1]@* is valid?

It doesn't, it answers only the question I understood Why is the second arrow necessary in $r->[1]->@*?

I've no idea if $r->[1]@* I usually don't run development builds of perl

From the documentation I would guess the answer is no, but the test suite might be more revealing https://metacpan.org/source/SHAY/perl-5.19.5/t/op/postfixderef.t ; short look, looks like answer is no

Turing machines λ-calculus μ-recursive functions Formal grammars Markov chains Petri nets Conway's Game of Life Perl regular expressions My Magic 8-Ball™ Actual computers

Results (183 votes). Check out past polls.

Comment onRe: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20DownloadCode