Skip to content

Commit

Permalink
Document that use feature 'defer' is still experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
leonerd committed May 24, 2022
1 parent cb47076 commit fd5e27c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/feature.pm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions regen/feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@ =head2 The 'try' feature.
=head2 The 'defer' feature
B<WARNING>: This feature is still experimental and the implementation may
change or be removed in future versions of Perl. For this reason, Perl will
warn when you use the feature, unless you have explicitly disabled the warning:
no warnings "experimental::defer";
This feature enables the C<defer> block syntax, which allows a block of code
to be deferred until when the flow of control leaves the block which contained
it. For more details, see L<perlsyn/defer>.
Expand Down

0 comments on commit fd5e27c

Please sign in to comment.