added new ad1c generated wpxloc.raw and 1605 cty.dat
[spider.git] / perl / create_usdb.pl
index a0da7ff413e75aea5619487273d8d8e9c4452645..f7242cf75f1b07e497a4f1f6db67077457966e61 100755 (executable)
@@ -16,6 +16,7 @@ BEGIN {
        $root = "/spider"; 
        $root = $ENV{'DXSPIDER_ROOT'} if $ENV{'DXSPIDER_ROOT'};
 
+       unshift @INC, "$root/perl";     # this IS the right way round!
        unshift @INC, "$root/local";
 }
 
@@ -30,7 +31,7 @@ use USDB;
 
 die "no input (usdbraw?) files specified\n" unless @ARGV;
 
-USDB::load(@ARGV);
+print "\n", USDB::load(@ARGV), "\n";
 exit(0);