Function-Parameters
Function-Parameters copied to clipboard
Can't have slurpy array with named parameters
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.