in reply to Re^9: rv of list assignment (was "map in void context")
in thread map in void context
indeed shows that list assignment has several side-effects, one in list context and another one in scalar context (I, personally, dislike that ... I think the behaviour in scalar context should be consistent with that in list context).my $x = ($a,$b) = (4,5,6); # $x = 3
|
|---|