in reply to Re: Distinguish between missing and undefined arguments with subroutine signatures
in thread Distinguish between missing and undefined arguments with subroutine signatures
P5P is considering to drop the population of @_ when signatures are usedBut only after alternative facilities for argument instrospection have been provided. See the proposal on the p5p mailing list.
In particular, in
$has_y is true if and only if a second arg is passed to the sub.sub foo($x, ??$has_y, $y = 0) { ... }
Dave.
In Section
Seekers of Perl Wisdom