1_compile.t fix for VMS
[p5sagit/p5-mst-13.2.git] / t / lib / compmod.pl
index 68a9665..00dc1fb 100644 (file)
@@ -11,7 +11,8 @@ my $module = shift;
 eval "use $module ();";
 if( $@ ) {
     print "not ";
-    warn "require failed with '$@'\n";
+    $@ =~ s/\n/\n# /g;
+    warn "# require failed with '$@'\n";
 }
 print "ok - $module\n";