laziness, impatience, and hubris | |
PerlMonks |
Re^2: Distinguish between missing and undefined arguments with subroutine signaturesby dave_the_m (Monsignor) |
on Dec 27, 2020 at 19:27 UTC ( [id://11125813]=note: print w/replies, xml ) | Need Help?? |
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. Dave.
In Section
Seekers of Perl Wisdom
|
|