![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Re: Fun with two-dimensional arraysby suaveant (Parson) |
on Aug 09, 2001 at 21:13 UTC ( #103511=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|