Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Not understanding 2 sentences in perldoc

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


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

#                  | inner assignment with a LHS (l) and RHS (r)
#      llllllllll..v...rrrrrrr                                       # $x = 1,   $y = 2,   $z = 3.
  (my ($x, $y, $z) = ( 1, 2, 3 )) = ('a', 'b', 'c' ); 
#      llllllllll.................^..rrrrrrrrrrrrr                   # $x = 'a', $y = 'b', $z = 'c'.
#                                 | outter assignment with a LHS (l) and RHS (r)
Slightly changed the internal scalar semantics by eliminating qw.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2021-01-20 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?