I would like the following to report the error from the caller, but I cant find the right way to do it.package A; use DBI; @CARP_NOT = "DBI"; # doesn't work sub foo { my $dbh = DBI->connect(..., {RaiseError => 1}); my $sth = $dbh->prepare("asdf"); $sth->execute; # bang! }
In reply to Re: Confusion about properly using Carp
by youwin
in thread Confusion about properly using Carp
by jeffa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |