projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
truncate qrg in spot dupe check
[spider.git]
/
perl
/
Chain.pm
diff --git
a/perl/Chain.pm
b/perl/Chain.pm
index c4fa99a79b5d45690e11e66fb9c5eee1b5cd171b..60266c755716d84d3aa625c90ad2b8a25e84b671 100644
(file)
--- a/
perl/Chain.pm
+++ b/
perl/Chain.pm
@@
-15,7
+15,7
@@
use constant OBJ => 2;
use vars qw($docheck);
use vars qw($docheck);
-$docheck =
1
;
+$docheck =
0
;
sub _check
{
sub _check
{
@@
-156,6
+156,13
@@
sub count
return $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!
1;
__END__
# Below is the stub of documentation for your module. You better edit it!