while (@row = $sth1->fetchrow_array ()) { my @row1 = @row; } return @row1;