Subject: | Allow use of repetition operator as syntactic sugar |
Hi. I think that it would be nice to be able to use the repetition operator to express the number of mandatory positional arguments. For instance:
validate_pos(@_, 1 x 5, 0)
In PP, the unfolding could work something like this:
@arg_spec = map { ! ref && m/\A1+\z/ ? split // : $_ } @_