What about my $a=$x=$y=$z = foo()
$ perl -MO=Deparse,-p -e 'my $a=$x=$y=$z = foo()' (my $a = ($x = ($y = ($z = foo()))));
The comma is left associative and the assignment is right associative. See perlop.
Here my attribute does not propogate like in case of comma.
No, it doesn't "propagate" with the comma either, as I showed.
In reply to Re^3: What's happening in this expression? (Updated)
by haukex
in thread What's happening in this expression?
by zapdos
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |