The enclosed patch allows this environment to run lib/selfstubber.t
100% ok:
Compaq C V6.2-008 on OpenVMS Alpha V7.1
It was also tested on the following platform:
OSF1 V4.0 878 ccversion='V5.6-082'
where it caused no harm to the 100% pass rate for the 12 tests.
Here it is:
--- perl/t/lib/selfstubber.t.orig Mon Apr 30 04:48:33 2001
+++ perl/t/lib/selfstubber.t Mon Apr 30 15:19:31 2001
@@ -203,11 +203,11 @@
}
# Check that the DATA handle stays open
-system "$runperl -w \"-I$lib\" -MData -e Data::ok";
+system "$runperl -w \"-I$lib\" \"-MData\" -e \"Data::ok\"";
# Possibly a pointless test as this doesn't really verify that it's been
# stubbed.
-system "$runperl -w \"-I$lib\" -MEnd -e End::lime";
+system "$runperl -w \"-I$lib\" \"-MEnd\" -e \"End::lime\"";
# But check that the documentation after the __END__ survived.
open FH, "$lib/End.pm" or die $!;
End of Patch.
Peter Prymmer