Skip to content

Commit

Permalink
feature.pm: note that "try" is experimental
Browse files Browse the repository at this point in the history
...then regen
  • Loading branch information
rjbs committed Apr 30, 2021
1 parent 2314e06 commit 35b06c4
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
Expand Up @@ -417,6 +417,12 @@ bareword filehandles for older versions of perl.
=head2 The 'try' 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::try";
This feature enables the C<try> and C<catch> syntax, which allows exception
handling, where exceptions throwin from the body of the block introduced with
C<try> are caught by executing the body of the C<catch> block.
Expand Down
6 changes: 6 additions & 0 deletions regen/feature.pl
Expand Up @@ -823,6 +823,12 @@ =head2 The 'bareword_filehandles' feature.
=head2 The 'try' 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::try";
This feature enables the C<try> and C<catch> syntax, which allows exception
handling, where exceptions throwin from the body of the block introduced with
C<try> are caught by executing the body of the C<catch> block.
Expand Down

0 comments on commit 35b06c4

Please sign in to comment.