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

Re: Urgent subroutine signatures problems

Thread Previous | Thread Next
Sawyer X
December 23, 2017 16:39
Re: Urgent subroutine signatures problems
Message ID:

On 12/23/2017 06:34 PM, Zefram wrote:
> Sawyer X wrote:
>> If so, how would that be "significant extra compilation"?
> "complication", not "compilation".

Muscle memory when typing.

> That clause was conditional on
> the situation in which we have non-core attributes that affect body
> compilation, in which case your assumption that we have a list of such
> attributes would necessarily be false.  We can only have a complete
> list if we rule out forever allowing non-core attributes to affect
> body compilation.

We can document that every compilation-affecting subroutine attribute
should be used before. Another way is to add a mechanism to register an
attribute as "requiring compilation," allowing us to croak about them if
we see them after signatures. Not an optimal solution, to say the least.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About