in reply to List vs array printing in perl
... be careful not to follow the print keyword with a left parenthesis unless you want the corresponding right parenthesis to terminate the arguments to the print; put parentheses around all the arguments (or interpose a "+", but that doesn't look as good).
So - the "print" is consuming the first open paren, leaving the square brackets hanging.This is not an optical illusion, it just looks like one.
|
|---|