Just another Perl shrine | |
PerlMonks |
Re: Strange aliasing(?) when modifying variable in range operatorby LanX (Saint) |
on Jun 09, 2018 at 18:39 UTC ( [id://1216270]=note: print w/replies, xml ) | Need Help?? |
> Edit 2. But what about the do (see also Re^3: Strange aliasing(?) when modifying variable in range operator) I think it's the right side of for which is a statement in it self and does optimization (foreach has lot's of magic, it's also aliasing)
BUT ... (wow oO ???)
apparently different levels of optimizations are exposed here when the debugger does an eval on the entered line.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|