Mangle the expected output correctly for both 5.9 and 5.8
Nicholas Clark [Fri, 8 Apr 2005 19:11:04 +0000 (19:11 +0000)]
p4raw-id: //depot/perl@24213

ext/B/t/stash.t

index 879368a..9d6879b 100755 (executable)
@@ -78,7 +78,10 @@ $got = "@got";
 
 my $expected = "attributes Carp Carp::Heavy DB Internals main Regexp utf8 version warnings";
 
-$expected =~ s/version // if $] < 5.009;
+if ($] < 5.009) {
+    $expected =~ s/version //;
+    $expected =~ s/DB/DB Exporter Exporter::Heavy/;
+}
 
 {
     no strict 'vars';