Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
sub form of split now supports a limit
  • Loading branch information
moritz committed Mar 22, 2009
1 parent 02fb9da commit eefb89f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/setting/Any-str.pm
Expand Up @@ -93,8 +93,8 @@ class Any is also {
}
sub split($delimiter, $target) {
$target.split($delimiter);
sub split($delimiter, $target, $limit = *) {
$target.split($delimiter, $limit);
}
# TODO: '$filename as Str' once support for that is in place
Expand Down

0 comments on commit eefb89f

Please sign in to comment.