Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make Range in numeric context return # of elements.
  • Loading branch information
coke committed Dec 19, 2011
1 parent 25c05b3 commit ea02434
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/CORE.setting
Expand Up @@ -1745,6 +1745,7 @@ my class Range is Cool {
}
method Str() { self.list.Str }
method Numeric() { +self.list }
method perl() {
( $.min.perl,
('^' if $.excludes_min),
Expand Down

0 comments on commit ea02434

Please sign in to comment.