Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Fun with two-dimensional arrays

by bikeNomad (Priest)
on Aug 09, 2001 at 21:04 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://103504]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-28 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found