I don't consider assignment to have a "side effect". Assignment is the effect.So,
is side-effect free?map {$sum += $_} @array;
In reply to Re^4: map in void context
by JavaFan
in thread map in void context
by dharanivasan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |