Function-Parameters icon indicating copy to clipboard operation
Function-Parameters copied to clipboard

Can't have slurpy array with named parameters

Open srchulo opened this issue 5 years ago • 0 comments

Using a slurpy array with named parameters generates this warning:

Odd number of paired arguments for method my_method at test.pl line 10.

method my_method (:$id, @args) {

}

It would be nice if an array could be slurpy after named parameters.

srchulo avatar Feb 09 '20 21:02 srchulo