develooper Front page | perl.perl5.porters | Postings from December 2019

Re: @_ Suppression

Thread Previous | Thread Next
From:
Zefram via perl5-porters
Date:
December 4, 2019 16:28
Subject:
Re: @_ Suppression
Message ID:
20191204162756.ovoj5qwkvtbyeynn@fysh.org
Dave Mitchell wrote:
>signature code written so that it can pull the next arg from @_ or from
>the stack,

I wouldn't do it that way.  The signature should work from the arguments
actually passed, regardless of whether @_ was also populated from those
arguments.

>                Plus all the ambiguity, loss of optimisation potential,
>and bugs if code blocks etc can manipulate @_ while its being processed.

I don't see how any of these arise.

-zefram

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