summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2018-04-20 14:28:35 +0200
committerAaron Crane <arc@cpan.org>2018-04-20 14:32:01 +0200
commitaffe54fad590821990edb8bd8db47d6e898c9114 (patch)
tree3519ecc8b7530ce48977ba1e8c6adbd5281ef3f1 /regen
parent50cef60b44ffdcb459d47449ba5f71a44797d154 (diff)
downloadperl-affe54fad590821990edb8bd8db47d6e898c9114.tar.gz
Document that `use v5.12` and `use feature ":5.12"` differ
Diffstat (limited to 'regen')
-rwxr-xr-xregen/feature.pl5
1 files changed, 4 insertions, 1 deletions
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