Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Re: Fun with two-dimensional arrays

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


in reply to Re(2): Fun with two-dimensional arrays
in thread Fun with two-dimensional arrays

Well, the second method accounts for that... the 0..$#{$vscr[$x]} gives you 0 thru the length of that row...

or you could set the width of a row to be arbitrarily long... like 500 chars... and just keep reading till one of them was undef (assuming good coords had a space instead of undef...

                - Ant
                - Some of my best work - Fish Dinner

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2019-06-17 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (80 votes). Check out past polls.

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