projects
/
dbsrgits/DBM-Deep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixed array test slowness by preventing Test::Builder's SIG{__DIE__} from being called
[dbsrgits/DBM-Deep.git]
/
lib
/
DBM
/
Deep
/
Hash.pm
diff --git
a/lib/DBM/Deep/Hash.pm
b/lib/DBM/Deep/Hash.pm
index
1f95438
..
4dc0b22
100644
(file)
--- a/
lib/DBM/Deep/Hash.pm
+++ b/
lib/DBM/Deep/Hash.pm
@@
-5,7
+5,7
@@
use strict;
use base 'DBM::Deep';
sub _get_self {
- eval { tied( %{$_[0]} ) } || $_[0]
+ eval { local $SIG{'__DIE__'}; tied( %{$_[0]} ) } || $_[0]
}
sub TIEHASH {