develooper Front page | perl.perl5.porters | Postings from February 2021

Re: De-experimentalising "signatures"

Thread Previous | Thread Next
Paul "LeoNerd" Evans
February 9, 2021 01:14
Re: De-experimentalising "signatures"
Message ID:
On Tue, 9 Feb 2021 00:58:39 +0000
Sam Kington <> wrote:

> I appreciate that, internally, signatures are being translated to
> machine-generated Perl code that checks the arguments, but that’s not
> source code that the debugger can show me so it just smiles and nods
> and hopes that everything will work out fine. But it means that I
> can’t tell *why*, precisely, my arguments are being rejected.
> If this isn’t a known problem I’m happy to raise an issue on GitHub
> or something.

That used to be the case on perl 5.20, when signatures were first added

Ever since perl 5.26 there have been real native OP_SIG* opcodes which
implement the signature checking. It isn't just "injected perl code"
any more.

Paul "LeoNerd" Evans      |  |

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