Skip to content

Commit

Permalink
Document appearance of "defer" feature in perlsyn.pod
Browse files Browse the repository at this point in the history
  • Loading branch information
dboehmer authored and leonerd committed Feb 6, 2024
1 parent 0d564a3 commit 425d89e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pod/perlsyn.pod
Original file line number Diff line number Diff line change
Expand Up @@ -787,8 +787,8 @@ is executed on the way past. It provides a means of deferring execution until
a later time. This acts similarly to syntax provided by some other languages,
often using keywords named C<try / finally>.

This syntax is available if enabled by the C<defer> named feature, and is
currently experimental. If experimental warnings are enabled it will emit a
This syntax is available since Perl 5.36 if enabled by the C<defer> named feature,
and is currently experimental. If experimental warnings are enabled it will emit a
warning when used.

use feature 'defer';
Expand Down

0 comments on commit 425d89e

Please sign in to comment.