in reply to Re: Strange aliasing(?) when modifying variable in range operator
in thread Strange aliasing(?) when modifying variable in range operator
Thank you for answer, Lanx, but range operator is not a "call" (to function), is it? And operators aren't (shouldn't be(?)) executed before arguments are evaluated?
Hm-m, I'm wrong. Back to school...
>perl -wE "$i=1; say $i + ($i+=1)" 4
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Strange aliasing(?) when modifying variable in range operator
by LanX (Saint) on Jun 09, 2018 at 18:19 UTC |