Skip to content

Commit 48c4d24

Browse files
author
Father Chrysostomos
committed
perldelta for :const
1 parent 1e50fc5 commit 48c4d24

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pod/perldelta.pod

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ experience, using this pragma will raise a category
6868
C<experimental:re_strict> warning.
6969
See L<'strict' in re|re/'strict' mode>.
7070

71+
=head2 New "const" subroutine attribute
72+
73+
The "const" attribute can be applied to an anonymous subroutine. It causes
74+
it to be executed immediately when it is cloned. Its value is captured and
75+
used to create a new constant subroutine that is returned. This feature is
76+
experimental. See L<perlsub/Constant Functions>.
77+
7178
=head1 Security
7279

7380
XXX Any security-related notices go here. In particular, any security

0 commit comments

Comments
 (0)