in reply to Re^2: Distinguish between missing and undefined arguments with subroutine signatures
in thread Distinguish between missing and undefined arguments with subroutine signatures

sub foo($x, ??$has_y, $y = 0) { ... }

Great! That's it. (Or better: Will be)

Greetings,
-jo

$gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$
  • Comment on Re^3: Distinguish between missing and undefined arguments with subroutine signatures
  • Download Code