I'd like to add a few more cases:
(1, $a)[0] = 42; # dies ?
(1, $a)[0] := 42; # dies ?
(1, $a)[1] = 42; # modify $a ?
(1, $a)[1] := 42; # makes $a constant ?
Ingo Blechschmidt wrote:
> (These questions were motivated by Flavio's work in progress [2] ("A
> draft on the runtim
Hi,
my ($a, $b, $c) = ;
my $also_a := ($a,$b,$c)[0];
$also_a eq "a"; # correct?
$also_a = "A"; # does not die?
$a eq "A"; # true?
my $also_b = "b";
($a,$b,$c)[1] := $also_b;
$b eq "b"; # true?
$b = "B";# does not die?
$also_b eq