Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[rosalind] simplify command line data input
  • Loading branch information
Paul Cochrane committed May 6, 2015
1 parent 5a57ec7 commit bff64aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion categories/rosalind/trie-grondilu.pl
Expand Up @@ -40,7 +40,8 @@ (@string is copy, $root = $node)
}
}

sub MAIN(@input = qw{ATAGA ATC GAT}) {
sub MAIN(:$data = "ATAGA ATC GAT") {
my @input = $data.split(/\s+/);
trie @input;
}

Expand Down

0 comments on commit bff64aa

Please sign in to comment.