In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/48c4d2435578cd1d8d49c2a16ed8659407164488?hp=8e79de622f8117bcb196b5a85a9011de655a2d2a>
- Log ----------------------------------------------------------------- commit 48c4d2435578cd1d8d49c2a16ed8659407164488 Author: Father Chrysostomos <[email protected]> Date: Mon Jan 19 20:39:44 2015 -0800 perldelta for :const M pod/perldelta.pod commit 1e50fc51c534d19806ee06a152dfe1e819ca4837 Author: Father Chrysostomos <[email protected]> Date: Mon Jan 19 20:37:24 2015 -0800 perlexperiment: Missing bug number M pod/perlexperiment.pod ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 7 +++++++ pod/perlexperiment.pod | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index af25293..5fe09b5 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -68,6 +68,13 @@ experience, using this pragma will raise a category C<experimental:re_strict> warning. See L<'strict' in re|re/'strict' mode>. +=head2 New "const" subroutine attribute + +The "const" attribute can be applied to an anonymous subroutine. It causes +it to be executed immediately when it is cloned. Its value is captured and +used to create a new constant subroutine that is returned. This feature is +experimental. See L<perlsub/Constant Functions>. + =head1 Security XXX Any security-related notices go here. In particular, any security diff --git a/pod/perlexperiment.pod b/pod/perlexperiment.pod index be0e0de..ef47248 100644 --- a/pod/perlexperiment.pod +++ b/pod/perlexperiment.pod @@ -131,7 +131,7 @@ Using this feature triggers warnings in the category C<experimental::const_attr>. The ticket for this feature is -L<[perl #xxxxx]|https://rt.perl.org/rt3/Ticket/Display.html?id=xxxxx>. +L<[perl #123630]|https://rt.perl.org/rt3/Ticket/Display.html?id=123630>. See also: L<perlsub/Constant Functions> -- Perl5 Master Repository
