Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Not understanding 2 sentences in perldoc

by perlfan (Vicar)
on Jul 29, 2020 at 21:02 UTC ( #11120022=note: print w/replies, xml ) Need Help??


in reply to Re^4: Not understanding 2 sentences in perldoc
in thread Not understanding 2 sentences in perldoc

This:
(my ($x, $y, $z) = qw( 1 2 3 )) = qw( a b c );
Is semantically equivalent to this,
my ($x, $y, $z) = qw( 1 2 3 ); # $x = '1', $y = '2', $z = '3'. ($x, $y, $z) = qw( a b c ); # $x = 'a', $y = 'b', $z = 'c'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11120022]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2021-01-20 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?