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

Re: De-experimentalising "signatures"

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
March 22, 2021 16:13
Subject:
Re: De-experimentalising "signatures"
Message ID:
CAHhgV8hPQWsX3tpp+GJw38KD+sju3p2aJ1o+ZSBxrg6uhUU45Q@mail.gmail.com
On Mon, Feb 15, 2021 at 1:35 PM Dave Mitchell <davem@iabyn.com> wrote:
> I have pushed for keeping them experimental because I want to change
> things so that @_ isn't populated in signatured subs (or more precisely @_
> isn't localised and is still the @_ of the caller), and that breaks
> backwards compatibility.

That does sound reasonable. I'm not sure why we haven't done so
already; that would have prevented this situation.

> It's also dependent on other new signature
> features being added which do away with needing access to @_.

As long as it still exists when no signature is present, I think that
doesn't need to be a problem?

Leon

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