Skip to content

Commit 94be1fa

Browse files
committed
[99probs] P12-unobe.pl post-glr quoting behaviour
1 parent b36acee commit 94be1fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

categories/99-problems/P12-unobe.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ =head1 Example
1919
2020
=end pod
2121

22-
my @l = ([<4 a>],'b',[<2 c>],[<2 a>], 'd', [<4 e>]);
22+
my @l = ([('4', 'a')],'b',[('2', 'c')],[('2','a')], 'd', [('4','e')]);
2323
sub prob12 (@in) {
2424
my @out;
2525
for 0 ... (@in.end) -> $x {

t/categories/99-problems.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ sub expected-output {
184184
END
185185

186186
%expected-output{"P12-unobe.pl"} = q:to/END/;
187-
[["4", "a"], "b", ["2", "c"], ["2", "a"], "d", ["4", "e"]]<>
188-
["a", "a", "a", "a", "b", "c", "c", "a", "a", "d", "e", "e", "e", "e"]<>
187+
[["4", "a"], "b", ["2", "c"], ["2", "a"], "d", ["4", "e"]]
188+
["a", "a", "a", "a", "b", "c", "c", "a", "a", "d", "e", "e", "e", "e"]
189189
END
190190

191191
%expected-output{"P13-rhebus.pl"} = q:to/END/;

0 commit comments

Comments
 (0)