develooper Front page | perl.perl5.porters | Postings from February 2021

Re: De-experimentalising "signatures"

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
February 15, 2021 16:05
Subject:
Re: De-experimentalising "signatures"
Message ID:
20210215140837.GL11043@iabyn.com
On Mon, Feb 15, 2021 at 08:32:16AM -0500, Felipe Gasper wrote:
> What if, as an expedient, access to @_ in signature’d functions
> triggered an exception? (I don’t know enough of the internals to sense
> whether that’s easier or harder than what Dave wants.)

Part of the proposal is that use of @_ within a signature sub would give a
warning. But this doesn't get round the fact that alternave access
measures also need adding.

But I don't want to get into a long discussion about it here.

-- 
A problem shared is a problem doubled.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About