projects
/
dbsrgits/DBM-Deep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c2472ed
)
Intermezzo commit
Rob Kinyon [Mon, 25 Jan 2010 13:51:50 +0000 (08:51 -0500)]
lib/DBM/Deep/Engine.pm
patch
|
blob
|
blame
|
history
t/55_recursion.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBM/Deep/Engine.pm
b/lib/DBM/Deep/Engine.pm
index
5d9b034
..
f2346b4
100644
(file)
--- a/
lib/DBM/Deep/Engine.pm
+++ b/
lib/DBM/Deep/Engine.pm
@@
-414,6
+414,8
@@
sub _descend {
%$value = %temp;
bless $value, 'DBM::Deep::Hash' unless Scalar::Util::blessed( $value );
}
+
+ return;
}
1;
diff --git
a/t/55_recursion.t
b/t/55_recursion.t
index
edec0d9
..
707f9f5
100644
(file)
--- a/
t/55_recursion.t
+++ b/
t/55_recursion.t
@@
-13,7
+13,7
@@
while ( my $dbm_maker = $dbm_factory->() ) {
my $h = {};
my $tmp = $h;
- for (1..4) { # 98 is ok, 99 is bad.
+ for (1..99) { # 98 is ok, 99 is bad.
%$tmp = ("" => {});
$tmp = $tmp->{""};
}