Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: f1a8d7d8834eba91f169ac3e164bf094e2df6a75
https://github.com/Perl/perl5/commit/f1a8d7d8834eba91f169ac3e164bf094e2df6a75
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2025-10-31 (Fri, 31 Oct 2025)
Changed paths:
M dump.c
M embed.fnc
M embed.h
M lib/warnings.pm
M op.c
M op.h
M perly.act
M perly.h
M perly.tab
M perly.y
M pod/perldelta.pod
M pod/perldiag.pod
M pod/perlsub.pod
M pp.c
M proto.h
M regen/warnings.pl
M t/class/method.t
M t/lib/croak/signatures
M t/lib/warnings/signatures
M t/op/signatures.t
M toke.c
M warnings.h
Log Message:
-----------
Implement named parameters in signatures (PPC0024)
This adds a major new ability to subroutine signatures, allowing callers
to pass parameters by name/value pairs rather than by position.
sub f ($x, $y, :$alpha, :$beta = undef) { ... }
f( 123, 456, alpha => 789 );
Originally specified in
https://github.com/Perl/PPCs/blob/main/ppcs/ppc0024-signature-named-parameters.md
This feature is currently considered experimental.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications