$ perl -v | head -2 | tail -1
This is perl 5, version 24, subversion 0 (v5.24.0) built for darwin-thread-multi-2level
####
#!/usr/bin/env perl -l
use strict;
use warnings;
my $x = [qw{test string}];
print $x->@*;
print "$x->@*";
####
teststring
ARRAY(0x7fc63c005498)->@*
####
use 5.024;
####
use feature qw{postderef_qq};
####
teststring
test string
####
$ perl -v | head -2 | tail -1
This is perl 5, version 20, subversion 0 (v5.20.0) built for darwin-thread-multi-2level
####
Array found where operator expected at ./pm_1174734_postderef.pl line 11, at end of line
(Missing operator before ?)
syntax error at ./pm_1174734_postderef.pl line 11, near "->@*"
Execution of ./pm_1174734_postderef.pl aborted due to compilation errors.
####
use warnings;
no warnings qw{experimental::postderef};
use feature qw{postderef postderef_qq};
####
teststring
test string
####
Perl v5.20.0 required--this is only v5.18.0, stopped at ...
BEGIN failed--compilation aborted at ...
####
Unknown warnings category 'experimental::postderef' at ...
BEGIN failed--compilation aborted at ...