Front page | perl.perl5.porters |
Postings from June 2022
Re: goto and @_
Thread Previous
|
Thread Next
From:
Dave Mitchell
Date:
June 6, 2022 12:14
Subject:
Re: goto and @_
Message ID:
Yp3vkM7p0oQ5IewX@iabyn.com
On Fri, Jun 03, 2022 at 06:50:19PM +0200, Ovid wrote:
> So goto requires @_.
>
> Is there a plan for this?
My intention was always that you would still be able to do:
sub foo($x,$y) {
...;
no warnings;
local @_ = (1,2);
goto &tail_call;
}
the only slight complication being that I anticipated the warnings
category to disable off would be something like 'signatures', but in 5.36
at least, it's actually 'experimental' - and is likely to vary between
releases.
--
The Enterprise's efficient long-range scanners detect a temporal vortex
distortion in good time, allowing it to be safely avoided via a minor
course correction.
-- Things That Never Happen in "Star Trek" #21
Thread Previous
|
Thread Next