vivekvp has asked for the wisdom of the Perl Monks concerning the following question:
Or do I have to...foreach $a(@a) { print "a- $a b - $b \n" }
Any way to do that with a foreach? Thanks, V He who laughs last, doesn't get the joke.$cnt=@a; for ($count=0;$count<$cnt;$count++) { print "a $a[$count] b $b[$count] \n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: VVP:arrays of the same size.
by dragonchild (Archbishop) on Mar 20, 2002 at 20:40 UTC | |
|
Re: VVP:arrays of the same size.
by dreadpiratepeter (Priest) on Mar 20, 2002 at 20:41 UTC | |
by PrakashK (Pilgrim) on Mar 20, 2002 at 21:36 UTC |