don't use a sub we don't define locally
authorTony Cook <tony@develop=help.com>
Fri, 8 Oct 2010 04:23:48 +0000 (04:23 +0000)
committerTony Cook <tony@develop=help.com>
Fri, 8 Oct 2010 04:23:48 +0000 (04:23 +0000)
FT2/Makefile.PL

index 4529210..04de962 100644 (file)
@@ -14,8 +14,6 @@ GetOptions("incpath=s", \@incpaths,
 
 our $BUILDING_IMAGER;
 
-$DB::single = 1;
-
 my $MM_ver = eval $ExtUtils::MakeMaker::VERSION;
 
 my %opts = 
@@ -155,7 +153,7 @@ sub is_exe {
 
   for my $dir (File::Spec->path) {
     for my $suffix (@exe_suffix) {
-      -x catfile($dir, "$name$suffix")
+      -x File::Spec->catfile($dir, "$name$suffix")
        and return 1;
     }
   }