projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Amend new section in admin manual
[spider.git]
/
perl
/
Chain.pm
diff --git
a/perl/Chain.pm
b/perl/Chain.pm
index c4fa99a79b5d45690e11e66fb9c5eee1b5cd171b..c065d17a62305b6c9fb224f0eb51a45b5ab34c1b 100644
(file)
--- a/
perl/Chain.pm
+++ b/
perl/Chain.pm
@@
-156,6
+156,13
@@
sub count
return $count;
}
+sub close
+{
+ my $base = shift;
+ $base->flush;
+ $base->[PREV] = $base->[NEXT] = undef;
+}
+
1;
__END__
# Below is the stub of documentation for your module. You better edit it!