diff options
author | Ricardo Signes <rjbs@semiotic.systems> | 2021-04-30 14:50:01 -0400 |
---|---|---|
committer | Ricardo Signes <rjbs@semiotic.systems> | 2021-04-30 14:50:01 -0400 |
commit | 35b06c4cb54cc9367ba86fa7400bca6c5953ad12 (patch) | |
tree | ddafbafad644720a55972a27cb3253c1f9b99484 /lib/feature.pm | |
parent | 2314e06e47d667676e3c2f07471640cde875290d (diff) | |
download | perl-35b06c4cb54cc9367ba86fa7400bca6c5953ad12.tar.gz |
feature.pm: note that "try" is experimental
...then regen
Diffstat (limited to 'lib/feature.pm')
-rw-r--r-- | lib/feature.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/feature.pm b/lib/feature.pm index 21eed6b39d..e05a911b40 100644 --- a/lib/feature.pm +++ b/lib/feature.pm @@ -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. |