print ("a", "b")[1]; print qw(a, b)[1]; __END__ # Result: syntax error at x.pl line 3, near ")[" Execution of x.pl aborted due to compilation errors. #### use strict; use warnings; print ("a", "b")[1]; print qw(a, b)[1]; __END__ print (...) interpreted as function at x.pl line 5. Possible attempt to separate words with commas at x.pl line 6. syntax error at prog.pl line 5, near ")[" Execution of x.pl aborted due to compilation errors. #### print ("a", "b")[1]; #### (print ("a", "b"))[1]; #### print (("a", "b")[1]); #### print qw(a, b)[1]; #### print qw(a b)[1];