$ perl -Mstrict -Mwarnings -E 'my @x = (1,2,3); say (@x)[1]' say (...) interpreted as function at -e line 1. syntax error at -e line 1, near ")[" Execution of -e aborted due to compilation errors.