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

Re: @_ is experimental in signatured subs [was: Re: Discourage @_ insignatured subroutine]

Thread Previous | Thread Next
From:
Yuki Kimoto
Date:
January 31, 2022 06:41
Subject:
Re: @_ is experimental in signatured subs [was: Re: Discourage @_ insignatured subroutine]
Message ID:
CAExogxMwCOd8-v4SnZVaRuBkuBK0u7YwaVjb=yzaTk9SjtSx9A@mail.gmail.com
2022-1-29 8:14 Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> wrote:

> On Fri, 28 Jan 2022 15:38:31 -0500
> James E Keenan <jkeenan@pobox.com> wrote:
>
> > I don't have time now to think of an alternative, but think we must.
>
> Latest attempt has:
>
>   no warnings 'experimental::args_array_with_signatures';
>
> after much discussion on IRC.
>
>
Name and the warning category is good, however does the user misunderstand
that @_ will be available in signature subroutines without warnings?

Do We have to message that @_ is going to be removed in the signature
subroutine?

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