- unshift @INC, '/spider/perl'; # this IS the right way round!
- unshift @INC, '/spider/local';
+ # 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';