}
if (my ($data_source) = $dsn =~ /^dbi:ODBC:([\w-]+)\z/i) { # prefix with DSN
- warn "Bare DSN in ODBC connect string, rewriting as 'dsn=$data_source'"
+ carp_unique "Bare DSN in ODBC connect string, rewriting as 'dsn=$data_source'"
." for MARS\n";
$dsn = "dbi:ODBC:dsn=$data_source";
}
my $relsource = try { $source->related_source($rel) };
unless ($relsource) {
- warn "Ignoring relationship '$rel' - related resultsource '$rel_info->{class}' is not registered with this schema\n";
+ carp "Ignoring relationship '$rel' - related resultsource '$rel_info->{class}' is not registered with this schema\n";
next;
};