Subject: | t/compile.t uses incorrect executable name. |
t/compile.t incorrectly assumes that the `perl' executable in my path is the one that it is being installed for. Use $^X instead.
--- t/compile.t.~1~ 2003-11-27 08:39:22.000000000 -0600
+++ t/compile.t 2005-09-19 20:53:19.441571712 -0500
@@ -6,6 +6,6 @@
print "bail out! Script file is missing!" unless ok( -e $file, "File exists" );
-my $output = `perl -c $file 2>&1`;
+my $output = `$^X -c $file 2>&1`;
like( $output, qr/syntax OK$/, 'script compiles' );