3 ms·
Perl has subroutine signatures now. You can write sub foo ($x, $y, $x) { ...} It's just syntactic sugar, so you still can't pass in multiple lists, and the li
by AndrewDavis 1y ago
Perl has subroutine signatures now. You can write
sub foo ($x, $y, $x) { ...}
It's just syntactic sugar, so you still can't pass in multiple lists, and the list must be the final parameter.