in reply to Re^3: map in void context
in thread map in void context
I don't consider assignment to have a "side effect". Assignment is the effect.So,
is side-effect free?map {$sum += $_} @array;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: map in void context
by JadeNB (Chaplain) on Dec 18, 2008 at 01:47 UTC | |
by JavaFan (Canon) on Dec 18, 2008 at 10:14 UTC |