Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: 2 dimensional array question

by reasonablekeith (Deacon)
on Sep 05, 2005 at 13:58 UTC ( #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
Node Status?
node history
Node Type: note [id://489226]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2021-05-14 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (150 votes). Check out past polls.

    Notices?