Hey,
cromatic -
No, not at all since you cannot equate calling an operator with a call to a subroutine. I am not saying the return value of a subroutine is its side-effect - far from it ... because returning its return value is its
effect (I have to admit I am not sure whether the call to a subroutine actually produces a side-effect in Perl - the Perl
operators I am aware of certainly all do).
An operator always returns a result (its
effect) and may or may not (again, I am not sure if really
all of Perl's operators produce side-effects systematically) also produce an additional change to the system state which would then be its
side-effect.
It's like taking a head-ache pill ... if makes my head ache go away, that's its effect. If, in addition, it makes me drowsy, that's its side-effect.
Know what I mean?