http://www.perlmonks.org?node_id=958508


in reply to Permanent <<use feature ":5.10";>>

Use -E instead of -e:

ls -l | perl -anE 'say "@F[5..7]"'

From man perlrun:

-E commandline
            behaves just like -e, except that it implicitly enables all optional features (in the main compilation unit). See feature.