Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix dodgy split signatures.
  • Loading branch information
jnthn committed Jun 8, 2010
1 parent 4df5081 commit 4ae2183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Cool-str.pm
Expand Up @@ -432,11 +432,11 @@ our multi sub infix:<leg>($a, $b) {
~$a cmp ~$b
}

multi split ( Str $delimiter, Str $input, Int $limit = * ) {
multi split ( Str $delimiter, Str $input, $limit = * ) {
$input.split($delimiter, $limit);
}

multi split ( Regex $delimiter, Str $input, Int $limit = * ) {
multi split ( Regex $delimiter, Str $input, $limit = * ) {
$input.split($delimiter, $limit);
}

Expand Down

0 comments on commit 4ae2183

Please sign in to comment.