diff --git a/modules/backlinkage.pl b/modules/backlinkage.pl index b18da5ab..202e9e1b 100644 --- a/modules/backlinkage.pl +++ b/modules/backlinkage.pl @@ -100,7 +100,7 @@ sub GetBackLink { our ($BacklinkBanned); $BacklinkBanned = "HomePage|ScratchPad" if !$BacklinkBanned; - tie my %backhash, 'MLDBM', $backfile, O_CREAT|O_RDWR, 0644 or die "Cannot open file $backfile $!\n"; + tie my %backhash, 'MLDBM', $backfile, O_CREAT|O_RDWR, oct(644) or die "Cannot open file $backfile $!\n"; # Search database for matches while ( my ($source, $hashes) = each %backhash ) { diff --git a/modules/clustermap.pl b/modules/clustermap.pl index 1f8956cf..af4fcf3c 100644 --- a/modules/clustermap.pl +++ b/modules/clustermap.pl @@ -183,14 +183,13 @@ sub CreateClusterMap { sub ClusterMapPrintRcHtml { my ( @options ) = @_; - my $page = ""; my $cluster = GetParam('rcclusteronly'); if ($cluster ne "") { CreateClusterMap(); print "Pages in this cluster:"; print "