Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: 2 dimensional array question

by reasonablekeith (Deacon)
on Sep 05, 2005 at 13:58 UTC ( [id://489226]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $arr[0] = [1,2,3];
    $arr[1] = [4,5,6];
    $index=1;
    
    print "$arr[$index][2]";
    
  2. or download this
    my @array = (1,2,3);
    my $array[0] = 4;
    
  3. or download this
    perldoc perlref
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (9)
As of 2024-03-28 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found