Skip to content

Commit 878d9f1

Browse files
committed
Merge pull request #13 from electricface/patch-1
Update P10-topo.pl
2 parents b803f40 + a01a165 commit 878d9f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

99-problems/P10-topo.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/usr/bin/env perl6
22
use v6;
33

4-
sub encode(@list)
4+
sub encode(@ls)
55
{
6+
my @list = @ls[*];
67
gather while @list.elems
78
{
89
my $value = @list[0];

0 commit comments

Comments
 (0)