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

Re: Urgent subroutine signatures problems

Thread Previous | Thread Next
Eirik Berg Hanssen
December 23, 2017 18:23
Re: Urgent subroutine signatures problems
Message ID:
On Sat, Dec 23, 2017 at 5:38 PM, Sawyer X <> wrote:

> 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.

  If you're really considering this, please go the other way: Require such
registration of the attribute before allowing it after the signature.

  "All's fair if you predeclare."  Not if you fail to register your


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