This is the usual "fix up subprocess invokation for non-Unix platforms"
type of fix.  I.e....use $^X rather than "./perl", and double-quote around
the -I option.

This patch fixes one of two test suite failures I'm seeing on VMS; the other
one needs a bit more detective work.

diff -uBb t/lib/1_compile.t-orig t/lib/1_compile.t
--- t/lib/1_compile.t-orig      Tue Mar 13 16:37:32 2001
+++ t/lib/1_compile.t   Tue Mar 13 15:53:10 2001
@@ -95,5 +95,5 @@
 sub compile_module {
     my ($module) = $_[0];
     
-    return scalar `./perl -Ilib t/lib/compmod.pl $module` =~ /^ok/;
+    return scalar `$^X "-Ilib" t/lib/compmod.pl $module` =~ /^ok/;
 }
--
 Drexel University       \V                    --Chuck Lane
======]---------->--------*------------<-------[===========
     (215) 895-1545     _/ \  Particle Physics
FAX: (215) 895-5934     /\ /~~~~~~~~~~~        [EMAIL PROTECTED]

Reply via email to