add mojo->master backward compatibility
[spider.git] / perl / watchdbg
index 348ac8fe7bbbe5ab49101d635c429b9a66113ed3..84a74c8fd399a0d6644658605d6e735b79968bf4 100755 (executable)
@@ -11,6 +11,7 @@
 #
 
 require 5.004;
+package main;
 
 # search local then perl directories
 BEGIN {
@@ -22,6 +23,8 @@ BEGIN {
        unshift @INC, "$root/local";
 }
 
+$data = "$root/data";
+
 use IO::File;
 use DXVars;
 use DXUtil;