summaryrefslogtreecommitdiff
path: root/cpan/experimental
diff options
context:
space:
mode:
authorSawyer X <xsawyerx@cpan.org>2017-11-14 21:44:28 +0100
committerSawyer X <xsawyerx@cpan.org>2017-11-14 21:44:28 +0100
commitb065a8952c45d0a2a290bb25dda60c27ec54f429 (patch)
treeab5f06e6fc16dd89663b2a6896568c87da2e9436 /cpan/experimental
parentad3f654c5e4c81c14a2e43673150c9ee02abf885 (diff)
downloadperl-b065a8952c45d0a2a290bb25dda60c27ec54f429.tar.gz
Update experimental.pm from 0.016 to 0.017
Diffstat (limited to 'cpan/experimental')
-rw-r--r--cpan/experimental/lib/experimental.pm81
1 files changed, 69 insertions, 12 deletions
diff --git a/cpan/experimental/lib/experimental.pm b/cpan/experimental/lib/experimental.pm
index 8d747518d1..0d69faafb4 100644
--- a/cpan/experimental/lib/experimental.pm
+++ b/cpan/experimental/lib/experimental.pm
@@ -1,5 +1,5 @@
package experimental;
-$experimental::VERSION = '0.016';
+$experimental::VERSION = '0.017';
use strict;
use warnings;
use version ();
@@ -21,6 +21,7 @@ my %min_version = (
array_base => '5',
autoderef => '5.14.0',
bitwise => '5.22.0',
+ const_attr => '5.22.0',
current_sub => '5.16.0',
evalbytes => '5.16.0',
fc => '5.16.0',
@@ -39,6 +40,7 @@ my %min_version = (
unicode_strings => '5.12.0',
);
my %max_version = (
+ autoderef => '5.23.1',
lexical_topic => '5.23.4',
);
@@ -128,7 +130,7 @@ experimental - Experimental features made easy
=head1 VERSION
-version 0.016
+version 0.017
=head1 SYNOPSIS
@@ -159,16 +161,67 @@ To disable the feature and, if applicable, re-enable any warnings, use:
The supported features, documented further below, are:
- array_base - allow the use of $[ to change the starting index of @array
- autoderef - allow push, each, keys, and other built-ins on references
- lexical_topic - allow the use of lexical $_ via "my $_"
- postderef - allow the use of postfix dereferencing expressions, including
- in interpolating strings
- refaliasing - allow aliasing via \$x = \$y
- regex_sets - allow extended bracketed character classes in regexps
- signatures - allow subroutine signatures (for named arguments)
- smartmatch - allow the use of ~~
- switch - allow the use of ~~, given, and when
+=over 4
+
+=item * C<array_base> - allow the use of C<$[> to change the starting index of C<@array>.
+
+This is supported on all versions of perl.
+
+=item * C<autoderef> - allow push, each, keys, and other built-ins on references.
+
+This was added in perl 5.14.0 and removed in perl 5.23.1.
+
+=item * C<bitwise> - allow the new stringwise bit operators
+
+This was added in perl 5.22.0.
+
+=item * C<const_attr> - allow the :const attribute on subs
+
+This was added in perl 5.22.0.
+
+=item * C<lexical_topic> - allow the use of lexical C<$_> via C<my $_>.
+
+This was added in perl 5.10.0 and removed in perl 5.23.4.
+
+=item * C<lexical_subs> - allow the use of lexical subroutines.
+
+This was added in 5.18.0.
+
+=item * C<postderef> - allow the use of postfix dereferencing expressions,
+including in interpolating strings
+
+This was added in perl 5.20.0.
+
+=item * C<re_strict> - enables strict mode in regular expressions
+
+This was added in perl 5.22.0.
+
+=item * C<refaliasing> - allow aliasing via C<\$x = \$y>
+
+This was added in perl 5.22.0.
+
+=item * C<regex_sets> - allow extended bracketed character classes in regexps
+
+This was added in perl 5.18.0.
+
+=item * C<signatures> - allow subroutine signatures (for named arguments)
+
+This was added in perl 5.20.0.
+
+=item * C<smartmatch> - allow the use of C<~~>
+
+This was added in perl 5.10.0, but it should be noted there are significant
+incompatibilities between 5.10.0 and 5.10.1.
+
+=item * C<switch> - allow the use of C<~~>, given, and when
+
+This was added in perl 5.10.0.
+
+=item * C<win32_perlio> - allows the use of the :win32 IO layer.
+
+This was added on perl 5.22.0.
+
+=back
=head2 Ordering matters
@@ -195,6 +248,10 @@ on again by the Moose module (fix is to switch the last two lines):
Because of the nature of the features it enables, forward compatibility can not
be guaranteed in any way.
+=head1 SEE ALSO
+
+L<perlexperimental|perlexperimental> contains more information about experimental features.
+
=head1 AUTHOR
Leon Timmermans <leont@cpan.org>