We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79164e3 commit 8e34742Copy full SHA for 8e34742
cpan/Scalar-List-Utils/t/exotic_names.t
@@ -45,7 +45,7 @@ sub caller3_ok {
45
),
46
);
47
48
- $expected =~ s/'/::/g;
+ $expected =~ s/'/::/g if $] < 5.037009 || $] >= 5.041_004;
49
50
# this is apparently how things worked before 5.16
51
utf8::encode($expected) if $] < 5.016 and $ord > 255;
@@ -72,7 +72,7 @@ my @ordinal = (
72
($] >= 5.014 ? ( 0 ) : ()),
73
1 .. 38,
74
# single quote ' separators are deprecated in 5.37.9
75
- ($] < 5.037009 ? ( 39 ) : ()),
+ ($] < 5.037009 || $] >= 5.041_004 ? ( 39 ) : ()),
76
40 .. 255,
77
# Unicode in 5.6 is not sane (crashes etc)
78
($] >= 5.008 ? (
@@ -85,7 +85,7 @@ my @ordinal = (
85
86
my $legal_ident_char = join('',
87
"A-Z_a-z0-9",
88
- q['],
+ ($] < 5.037009 || $] >= 5.041_004 ? q['] : ()),
89
($] > 5.008 ? (
90
map chr, 0x100, 0x498
91
) : ()),
0 commit comments