Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Fun with two-dimensional arrays

by FoxtrotUniform (Prior)
on Aug 09, 2001 at 20:43 UTC ( [id://103487]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $vscr[$x][$y];
    
  2. or download this
    foreach my $x (@vscr) {
      foreach my $y (@$x) {
        &do_stuff($y);
      }
    }
    
  3. or download this
    foreach my $row (0..21) {
      foreach my $col (@vscr) {
        &do_stuff($col[$row]);
      }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found