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

Re^5: Learning Programming, desperately need to know what information is contained in scalar variables

by LanX (Cardinal)
on Jul 20, 2020 at 21:54 UTC ( #11119570=note: print w/replies, xml ) Need Help??


in reply to Re^2: Learning Programming, desperately need to know what information is contained in scalar variables
in thread Learning Programming, desperately need to know what information is contained in scalar variables

Yes

@something = ... ;

or

(...) = ... ;

Are "list assignments".

The RHS (right hand side) is in list context and the resulting list will be unpacked into the LHS.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^5: Learning Programming, desperately need to know what information is contained in scalar variables
  • Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2021-06-17 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (84 votes). Check out past polls.

    Notices?