add DXCIDR, fix version no tracking
[spider.git] / perl / callbot.pl
index 6d845a215a91263667ef5b05bca1df629bce94ac..d63234f9a6730ba6ba199cb181fd7bae85a78027 100755 (executable)
 #
 # Copyright (c) 1999 - Dirk Koopman, Tobit Computer Co Ltd
 #
-# $Id$
+#
 #
 
 package main;
 
 BEGIN {
-       unshift @INC, '.';
+       umask 002;
+       
+       # root of directory tree for this system
+       $root = "/spider"; 
+       $root = $ENV{'DXSPIDER_ROOT'} if $ENV{'DXSPIDER_ROOT'};
+       
+       unshift @INC, "$root/perl";     # this IS the right way round!
+       unshift @INC, "$root/local";
 }
 
 use strict;