http://qs321.pair.com?node_id=112665


in reply to referring to individual elements after fetchrow_arrayref finds a '1' attached

There's not enough information to answer this. I'd debug this by printing $array_ref_partial inside the while loop. I'm also not sure why you're pushing an array reference containing an array reference onto @rows_partial, but without seeing your printing code, I can't be sure that's wrong.
while ($array_ref_partial = $sth2->fetchrow_arrayref) { warn join(' | ', @$array_ref_partial), "\n"; push @rows_partial, $array_ref_partial; push @partial_famids, $array_ref_partial->[1]; }
On the other hand, since DBI reuses the same reference each time for fetchrow_arrayref(), you might mean something like this:
push @rows_partial, [ @$array_ref_partial ];
That fits more in line with your comment about copying the array.