summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-04-08 19:11:04 +0000
committerNicholas Clark <nick@ccl4.org>2005-04-08 19:11:04 +0000
commit4581844a3cc3a7a0d705d34f64d0a3da950a530d (patch)
treee926a6ed2c36df6e59d30f87212b6ea06aea0adb /ext
parent087dded793b7dd8915667b14c757cf914c212cc9 (diff)
downloadperl-4581844a3cc3a7a0d705d34f64d0a3da950a530d.tar.gz
Mangle the expected output correctly for both 5.9 and 5.8
p4raw-id: //depot/perl@24213
Diffstat (limited to 'ext')
-rwxr-xr-xext/B/t/stash.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/B/t/stash.t b/ext/B/t/stash.t
index 879368a4a9..9d6879b113 100755
--- a/ext/B/t/stash.t
+++ b/ext/B/t/stash.t
@@ -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';