develooper Front page | perl.perl5.porters | Postings from January 2022

Re: arity checking (was Re: PSC #049 2022-01-07)

Thread Previous | Thread Next
January 21, 2022 14:15
Re: arity checking (was Re: PSC #049 2022-01-07)
Message ID:
On Fri, 21 Jan 2022 at 14:12, Nicholas Clark <> wrote:

> Really you want to know you have a problem *before* you call the callback
> (ie what Yves wrote - you want to be able to flag a problem at object
> construction time, which might well be program startup. Not fail at
> runtime,
> unattended, into a log file or even /dev/null)

So am i correct in understanding that you would be ok with exposing an API
to check the subs arity signature? If so then I'll try to think up
one (others could too).


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About