Help for this page
print ("a", "b")[1]; print qw(a, b)[1]; ... # Result: syntax error at x.pl line 3, near ")[" Execution of x.pl aborted due to compilation errors.
use strict; use warnings; ... 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];