diff options
author | Aaron Crane <arc@cpan.org> | 2018-04-20 14:28:35 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2018-04-20 14:32:01 +0200 |
commit | affe54fad590821990edb8bd8db47d6e898c9114 (patch) | |
tree | 3519ecc8b7530ce48977ba1e8c6adbd5281ef3f1 | |
parent | 50cef60b44ffdcb459d47449ba5f71a44797d154 (diff) | |
download | perl-affe54fad590821990edb8bd8db47d6e898c9114.tar.gz |
Document that `use v5.12` and `use feature ":5.12"` differ
-rw-r--r-- | lib/feature.pm | 5 | ||||
-rwxr-xr-x | regen/feature.pl | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lib/feature.pm b/lib/feature.pm index 97f789ad64..6466eb70c6 100644 --- a/lib/feature.pm +++ b/lib/feature.pm @@ -5,7 +5,7 @@ package feature; -our $VERSION = '1.51'; +our $VERSION = '1.52'; our %feature = ( fc => 'feature_fc', @@ -437,6 +437,9 @@ with the same effect. If the required version is older than Perl 5.10, the ":default" feature bundle is automatically loaded instead. +Unlike C<use feature ":5.12">, saying C<use v5.12> (or any higher version) +also does the equivalent of C<use strict>; see L<perlfunc/use> for details. + =back =cut diff --git a/regen/feature.pl b/regen/feature.pl index ca7a9b3e88..ef6cffba5e 100755 --- a/regen/feature.pl +++ b/regen/feature.pl @@ -369,7 +369,7 @@ read_only_bottom_close_and_rename($h); __END__ package feature; -our $VERSION = '1.51'; +our $VERSION = '1.52'; FEATURES @@ -716,6 +716,9 @@ with the same effect. If the required version is older than Perl 5.10, the ":default" feature bundle is automatically loaded instead. +Unlike C<use feature ":5.12">, saying C<use v5.12> (or any higher version) +also does the equivalent of C<use strict>; see L<perlfunc/use> for details. + =back =cut |