Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by LanX (Sage)
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
Domain Nodelet?
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 pondering the Monastery: (1)
As of 2021-10-16 08:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (69 votes). Check out past polls.

    Notices?