Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Multidimensional arrays within arrays

by reaper9187 (Scribe)
on Jan 23, 2013 at 20:37 UTC ( #1015019=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @a = qw/Mon Tue Wed Thurs/;
    
    ...
    print Dumper(\@$key);    
    }
    
  2. or download this
    #Declare array as 
    push(@$key, #some values);
    ...
    ..
    ..
    #Alhtough this will help me to get the desired array format , however 
    +the most irritating part is that the variable $key is constant ,i.e e
    +vn if i iterate it over a loop, only one array ( i.e @key is generate
    +d and the reference for all the arrays is the same)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2016-10-01 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (3 votes). Check out past polls.