defer => 'defer',
extra_paired_delimiters => 'more_delims',
module_true => 'module_true',
+ class => 'class',
);
# NOTE: If a feature is ever enabled in a non-contiguous range of Perl
__END__
package feature;
-our $VERSION = '1.79';
+our $VERSION = '1.80';
FEATURES
See L<perlsyn/"Switch Statements"> for details.
This feature is available starting with Perl 5.10.
+It is deprecated starting with Perl 5.38, and using
+C<given>, C<when> or smartmatch will throw a warning.
+It will be removed in Perl 5.42.
=head2 The 'unicode_strings' feature
You can use the L<bareword::filehandles> module on CPAN to disable
bareword filehandles for older versions of perl.
-=head2 The 'try' 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
will prevent C<perl> from throwing an exception that the module "did not return
a true value".
+=head2 The 'class' 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::class";
+
+This feature enables the C<class> block syntax and other associated keywords
+which implement the "new" object system, previously codenamed "Corinna".
+
=head1 FEATURE BUNDLES
It's possible to load multiple features together, using