my $rows = $sthBoo->fetchall_arrayref(); my $num_rows = @$rows;