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
/
Array.pm
diff --git
a/lib/DBM/Deep/Array.pm
b/lib/DBM/Deep/Array.pm
index
c6e9bf7
..
a11619a
100644
(file)
--- a/
lib/DBM/Deep/Array.pm
+++ b/
lib/DBM/Deep/Array.pm
@@
-13,7
+13,7
@@
use base 'DBM::Deep';
use Scalar::Util ();
sub _get_self {
- eval { tied( @{$_[0]} ) } || $_[0]
+ eval { local $SIG{'__DIE__'}; tied( @{$_[0]} ) } || $_[0]
}
sub TIEARRAY {