Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Newbie: query about array assignment

by LanX (Canon)
on Sep 13, 2012 at 13:40 UTC ( #993493=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<104> dp @stuff = "This","That","Other"; 
    {
    ...
    {
        (@stuff = ('This', 'That', 'Other'));
    }
    
  2. or download this
      DB<111> sub list { "This","That","Other" }
     
      DB<112> @stuff = list()
     => ("This", "That", "Other")
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (15)
As of 2014-10-31 19:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (223 votes), past polls