diff options
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. |