in reply to Re^16: ref to read-only alias ... why? (notabug)
in thread ref to read-only alias ... why?
my $a = 2; $_++ for 1..$a; print "$a\n"; # 2
thats a confusing example, nothing else than
my $a = 2; $_++ for 1..2; print "$a\n";
I don't understand what it's supposed to prove.
Cheers Rolf
In Section
Seekers of Perl Wisdom