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

Re: Fun with two-dimensional arrays

by suaveant (Parson)
on Aug 09, 2001 at 21:00 UTC ( #103499=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $x (0..21) {
      for my $y (0..79) {
         do_stuff($vscr[$x][$y]);
      }
    }
    
  2. or download this
    for my $x (0..$#vscr) {
      for my $y (0..$#{$vscr[$x]}) {
         do_stuff($vscr[$x][$y]);
      }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2023-02-07 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (38 votes). Check out past polls.

    Notices?