[LON-CAPA-cvs] cvs: loncom /metadata_database searchcat.pl
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 08 Oct 2002 18:45:33 -0000
albertel Tue Oct 8 14:45:33 2002 EDT
Modified files:
/loncom/metadata_database searchcat.pl
Log:
- Need to put () after all calls to GDBM_*
Index: loncom/metadata_database/searchcat.pl
diff -u loncom/metadata_database/searchcat.pl:1.22 loncom/metadata_database/searchcat.pl:1.23
--- loncom/metadata_database/searchcat.pl:1.22 Tue Oct 8 12:59:26 2002
+++ loncom/metadata_database/searchcat.pl Tue Oct 8 14:45:33 2002
@@ -2,7 +2,7 @@
# The LearningOnline Network
# searchcat.pl "Search Catalog" batch script
#
-# $Id: searchcat.pl,v 1.22 2002/10/08 16:59:26 www Exp $
+# $Id: searchcat.pl,v 1.23 2002/10/08 18:45:33 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -84,7 +84,7 @@
my ($adomain,$aauthor)=($url=~/^(\w+)\/(\w+)\//);
my $prodir=&propath($adomain,$aauthor);
if (tie(%evaldata,'GDBM_File',
- $prodir.'/nohist_resevaldata.db',&GDBM_WRCREAT,0640)) {
+ $prodir.'/nohist_resevaldata.db',&GDBM_WRCREAT(),0640)) {
my %sum=();
my %cnt=();
my %listitems=('count' => 'add',