Skip to content

Commit ccf0ebe

Browse files
committed
[rosalind] flatten some mRNA whatever that might be
1 parent fed05e1 commit ccf0ebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

categories/rosalind/mrna-grondilu.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ($rna)
4242
%count{.value}++ for RNA-codon;
4343

4444
my $count = 1;
45-
for $rna.comb, 'Stop' {
45+
for ($rna.comb, 'Stop').flat {
4646
$count *= %count{$_};
4747
$count %= 1_000_000;
4848
}

0 commit comments

Comments
 (0)