in reply to Re: Perplexing perl problem
in thread Perplexing perl problem
"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
|
|---|