"print the result of 2 + 2 (4) and multiply the result of print (1) times 5. That last result is discarded, because it is is void context. You can see how is is parsed:
perl -MO=Deparse -e 'print (2 + 2) * 5' print(4) * 5; -e syntax OK
Paul
In reply to Re^2: Perplexing perl problem
by rev_1318
in thread Perplexing perl problem
by sreejithcyber
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |