-#!/usr/bin/perl -w
+#!/usr/bin/env perl
#
# an attempt at producing a general purpose 'bot' for going and getting
# things orf the web and presenting them to user in a form they want
#
# 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;