put dx.pl into an explicit handle sub
[spider.git] / perl / WCY.pm
index 657a49cb172c32142983077ae6620ed0ccda835c..826208e5332edf7604335ece130726410307bf5d 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 2000 - Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 package WCY;
@@ -19,12 +19,6 @@ use Data::Dumper;
 
 use strict;
 
-use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ||  (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-
 use vars qw($date $sfi $k $expk $a $r $sa $gmf $au  @allowed @denied $fp $node $from 
             $dirprefix $param
             $duplth $dupage $filterdef);
@@ -45,7 +39,7 @@ $from = "";                                           # who this came from
 $duplth = 20;                                  # the length of text to use in the deduping
 $dupage = 12*3600;                             # the length of time to hold spot dups
 
-$dirprefix = "$main::data/wcy";
+$dirprefix = "$main::local_data/wcy";
 $param = "$dirprefix/param";
 
 $filterdef = bless ([
@@ -61,7 +55,6 @@ $filterdef = bless ([
                          ['origin_zone', 'nz', 19],
                         ], 'Filter::Cmd');
 
-
 sub init
 {
        $fp = DXLog::new('wcy', 'dat', 'm');