This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
872c1c4
)
Fix Data::Dumper test on old perls
author
Steffen Mueller
<smueller@cpan.org>
Fri, 19 Nov 2010 23:53:35 +0000
(
00:53
+0100)
committer
Steffen Mueller
<smueller@cpan.org>
Fri, 19 Nov 2010 23:53:44 +0000
(
00:53
+0100)
dist/Data-Dumper/t/bless.t
patch
|
blob
|
blame
|
history
diff --git
a/dist/Data-Dumper/t/bless.t
b/dist/Data-Dumper/t/bless.t
index
8b9e0c3
..
f3d886a
100644
(file)
--- a/
dist/Data-Dumper/t/bless.t
+++ b/
dist/Data-Dumper/t/bless.t
@@
-43,9
+43,11
@@
SKIP: {
my $t = bless( qr//, 'foo');
my $dt = Dumper($t);
-my $o =
<<'PERL'
;
+my $o =
($] > 5.013006 ? <<'PERL' : <<'PERL_LEGACY')
;
$VAR1 = bless( qr/(?^:)/, 'foo' );
PERL
+$VAR1 = bless( qr/(?-xism:)/, 'foo' );
+PERL_LEGACY
is($dt, $o, "We can dump blessed qr//'s properly");