in reply to ... for (@_) x= 2;
I suspect the key is that x= only operates on scalars. So (@_ = ('a' .. 'b')) is in scalar context and becomes the scalar value 2 which x then make two of.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ... for (@_) x= 2;
by LanX (Saint) on Dec 29, 2015 at 03:25 UTC |