Front page | perl.perl5.porters |
Postings from January 2022
Re: PSC #049 2022-01-07
Thread Previous
|
Thread Next
From:
Ricardo Signes
Date:
January 16, 2022 19:15
Subject:
Re: PSC #049 2022-01-07
Message ID:
7f5df10d-b723-45a1-9f3d-967955b4e86f@beta.fastmail.com
On Sun, Jan 16, 2022, at 6:23 AM, demerphq wrote:
> Personally I cant understand why if perl can validate the arity of a sub we cannot provide a mechanism to determine what that is at a code level.
I don't mind the existence of a "Sub::Util::arity_of" or something. (I'm not sure what return would be best, since it needs to handle:
* undeclared
* fixed number
* n or more
* n or more, but even/odd)
What I don't want is to change the behavior we have out of the box, or to further delay shipping this based on something that can be added in the future.
> I am going to CC him on this, he can yell at me if he wants. :-)
I mean, I read p5p, which got all the previous messages, too. 😉 I will only yell if you spill my beer.
--
rjbs
Thread Previous
|
Thread Next