summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@semiotic.systems>2022-05-21 14:28:54 -0400
committerRicardo Signes <rjbs@semiotic.systems>2022-05-21 14:38:55 -0400
commit80e11acb0614bd11629a5a1d5aec550563405f58 (patch)
tree99c4d22488d8daa9a71901e6e818b2125b1cbcb4
parent243cfe6606efa1bfd6c14f6277a90a2a8cd77c66 (diff)
downloadperl-80e11acb0614bd11629a5a1d5aec550563405f58.tar.gz
perlexperiment: defer {} syntax
-rw-r--r--pod/perlexperiment.pod12
1 files changed, 12 insertions, 0 deletions
diff --git a/pod/perlexperiment.pod b/pod/perlexperiment.pod
index d108003641..6eb5a9a02f 100644
--- a/pod/perlexperiment.pod
+++ b/pod/perlexperiment.pod
@@ -178,6 +178,18 @@ functions within it may also be experimental.
The ticket for this experiment is
L<[perl #19764]|https://github.com/Perl/perl5/issues/19764>.
+=item The defer block modifier
+
+Introduced in Perl 5.36.0
+
+Using this feature triggers warnings in the category C<builtin::defer>.
+
+This feature adds a new kind of block, a C<defer> block, which will not be
+executed until the containing block is being exited.
+
+The ticket for this experiment is
+L<[perl #17949]|https://github.com/Perl/perl5/issues/17949>.
+
=back
=head2 Accepted features