In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/affe54fad590821990edb8bd8db47d6e898c9114?hp=50cef60b44ffdcb459d47449ba5f71a44797d154>
- Log ----------------------------------------------------------------- commit affe54fad590821990edb8bd8db47d6e898c9114 Author: Aaron Crane <a...@cpan.org> Date: Fri Apr 20 14:28:35 2018 +0200 Document that `use v5.12` and `use feature ":5.12"` differ ----------------------------------------------------------------------- Summary of changes: lib/feature.pm | 5 ++++- 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 -- Perl5 Master Repository