summaryrefslogtreecommitdiffstats
path: root/staticweb/man.pl
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-16 14:04:30 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-16 14:04:30 +0800
commitae825cd67e4b21efe93c8f6fee56e038a9dba61c (patch)
tree791a3871c6df95a9d18cd2df66324795c7e3aaa5 /staticweb/man.pl
parent9b7e8a279863d92274a54df4eca10f4f0b78b2d2 (diff)
downloadpttbbs-ae825cd67e4b21efe93c8f6fee56e038a9dba61c.tar
pttbbs-ae825cd67e4b21efe93c8f6fee56e038a9dba61c.tar.gz
pttbbs-ae825cd67e4b21efe93c8f6fee56e038a9dba61c.tar.bz2
pttbbs-ae825cd67e4b21efe93c8f6fee56e038a9dba61c.tar.lz
pttbbs-ae825cd67e4b21efe93c8f6fee56e038a9dba61c.tar.xz
pttbbs-ae825cd67e4b21efe93c8f6fee56e038a9dba61c.tar.zst
pttbbs-ae825cd67e4b21efe93c8f6fee56e038a9dba61c.zip
untie everything
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1249 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'staticweb/man.pl')
-rwxr-xr-xstaticweb/man.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/staticweb/man.pl b/staticweb/man.pl
index 274797af..8ade7d6c 100755
--- a/staticweb/man.pl
+++ b/staticweb/man.pl
@@ -6,11 +6,9 @@ use LocalVars;
use DB_File;
use strict;
use Data::Dumper;
-use Date::Calc qw(:all);
use Template;
use OurNet::FuzzyIndex;
use Data::Serializer;
-use Encode;
use Time::HiRes qw/gettimeofday tv_interval/;
use b2g;
use POSIX;
@@ -61,6 +59,7 @@ sub main
$rh->{charset} = 'big5';
}
$tmpl->process($rh->{tmpl}, $rh);
+ untie %db;
}
sub dirmode
@@ -125,6 +124,7 @@ sub search($)
$th{elapsed} = tv_interval($t0);
$th{key} = $key;
$th{tmpl} = 'search.html';
+ undef $idx;
return \%th;
}