Hi This is also another method try.
my $x=1; my $y=2; my @a=qw(1 2 3); my @b=qw(7 8 9); my $i=0; for (@a){ print "$x:$a[$i] "; print "$y:$b[$i] "; print "\n"; $i++; }
In reply to Re: read 2 array simultaneously
by gube
in thread read 2 array simultaneously
by dee00zee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |