my $row2=@$data2[$i];
That way of accessing a single element of an array is usually discouraged unless you know what you're doing. Better is $data2->[$i].
In reply to Re^2: Combining two references
by Anonymous Monk
in thread Combining two references
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |