in reply to Re^3: The Emperor's New Clothes
in thread The Emperor's New Clothes
even when the primary, and often only, purpose is to effect a side-effect.
Yes. From the docs (perlsyn):
The only kind of simple statement is an expression evaluated for its side effects.
So true. Take "Hello, world!". The computed effect (1 upon success) is dropped, an to have that silly greeting on the terminal - is the side-effect.
I am here as and for my side-effects...
|
|---|