Do you know where your variables are? | |
PerlMonks |
Re^4: Not understanding 2 sentences in perldocby Anonymous Monk |
on Jul 29, 2020 at 20:37 UTC ( [id://11120013]=note: print w/replies, xml ) | Need Help?? |
"($x, $y, $z) are after the first assignment ready for the next one." The next one is the assignment to qw( a b c ); ?
And what happens to qw( 1 2 3 ) in (my ($x, $y, $z) = qw( 1 2 3 )) = qw( a b c ); # $x = 'a', $y = 'b', $z = 'c'. ?
In Section
Seekers of Perl Wisdom
|
|