Thanks to the Perl wacky parsing rules (about Perl, you kook!), These statements:
print ((52-80)*42) , "\n";
print (52-80)*42 , "\n";
interpreted as if they were written:
(print ((52-80)*42)), "\n";
(print (52-80))*42, "\n";
This is why you see -1176-28in one line, and the expected empty line is missing. Perl sees (print-expr), "\n";and simply throws a new line instead of printing. A.
source
share