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

Re: Please explain 'list' assignment.

by friedo (Prior)
on Nov 03, 2006 at 19:10 UTC ( #582141=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($var1, $var2, $var3) = "Hello" x 3;
    
  2. or download this
    my ($var1, $var2, $var3) = map "Hello", 1..3;
    
  3. or download this
    my ($var1, $var2, $var3) = ("Hello") x 3;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2021-04-23 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?