Skip to content

Commit

Permalink
make the grep() arguments slurpy
Browse files Browse the repository at this point in the history
Closes RT #73444 by masak++
  • Loading branch information
moritz committed Apr 13, 2010
1 parent cb45216 commit 3b5a790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Any-list.pm
Expand Up @@ -195,7 +195,7 @@ proto sub join (Str $separator = '', *@values) { @values.join($separator); }
proto sub reverse(@values) { @values.reverse; }
multi sub reverse(*@v) { @v.reverse; }
proto sub end(@array) { @array.end; }
proto sub grep(Mu $test, @values) { @values.grep($test); }
proto sub grep(Mu $test, *@values) { @values.grep($test); }
proto sub first($test, @values) { @values.first($test); }
proto sub min($by, *@values) { @values.min($by); }
proto sub max($by, *@values) { @values.max($by); }
Expand Down

0 comments on commit 3b5a790

Please sign in to comment.