Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Fun with two-dimensional arrays

by bikeNomad (Priest)
on Aug 09, 2001 at 21:04 UTC ( #103504=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach my $row (0 .. $lastRow)
    {
    }
    
  2. or download this
    my $screen = ' ' x ($rows * $columns);
    foreach my $row (0 .. $rows-1)
    ...
      my $text = join('', @_);
      substr($screen, $y * $columns + $x, length($text), $text);
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2019-05-26 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (153 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!