lib/DBMerge.pm
sub handle_skip_empty { my($self, $table) = @_; my $count = $self->source_row_count($table); if($count > 0) { $self->error( "Expected table '$table' to be empty, " . "found $count row(s)" ); } else { say "$table - empty, skipped"; } }