in reply to compare 2 tables of mysql in perl

| V my $check =dbh->prepare ^ |
$check is undef, if you use DBI RaiseError => 1 option you can get automatic error messages , telling you why prepare failed