Do you know where your variables are? | |
PerlMonks |
Re: print one row of arrayby davidj (Priest) |
on Jun 10, 2004 at 00:07 UTC ( [id://362941]=note: print w/replies, xml ) | Need Help?? |
Do you mean "print a single row of a two-dimensional array? A single-dimensional array is pretty much a row: row 0. In that case would do it. A two-dimensional array in Perl is an array of array references. In that case the row needs to be dereferenced. The following are two ways it can be done. Or
hope this helps, --david
In Section
Seekers of Perl Wisdom
|
|