my $sth_Count_Ref_vs_Comp = $dbh_B->prepare($sql_count_A_Ref_vs_Comp) or die "Cannot prepare: " . $dbh_B->errstr(); $sth_Count_Ref_vs_Comp->execute() or die "$sth_Count_Ref_vs_Comp->errstr\n"; my $sth_Count_Ref_vs_Comp_B = $dbh_B->prepare($sql_count_A_Ref_vs_Comp_B) or die "Cannot prepare: " . $dbh_B->errstr(); $sth_Count_Ref_vs_Comp_B->execute() or die "$sth_Count_Ref_vs_Comp_B->errstr\n"; my $sth_Count_Ref_vs_Comp_C = $dbh_B->prepare($sql_count_A_Ref_vs_Comp_C) or die "Cannot prepare: " . $dbh_B->errstr(); $sth_Count_Ref_vs_Comp_C->execute() or die "$sth_Count_Ref_vs_Comp_C->errstr\n"; my $sth_Count_Ref_vs_Comp_D = $dbh_B->prepare($sql_count_A_Ref_vs_Comp_D) or die "Cannot prepare: " . $dbh_B->errstr(); $sth_Count_Ref_vs_Comp_D->execute() or die "$sth_Count_Ref_vs_Comp_D->errstr\n";