diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-12-06 16:54:18 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-12-07 06:15:33 -0800 |
commit | 0c9fdf2c6b80bede18dc1c30b17e9c1379e379d8 (patch) | |
tree | b87f5b4e0fc4a16841f913aa450aef76d71e4bf0 /lib/feature.pm | |
parent | 4a4443f2c61db10a717416b08e8be299d7100ef1 (diff) | |
download | perl-0c9fdf2c6b80bede18dc1c30b17e9c1379e379d8.tar.gz |
Document :default feature bundle
Diffstat (limited to 'lib/feature.pm')
-rw-r--r-- | lib/feature.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/feature.pm b/lib/feature.pm index 0719218d01..16bbbc39ea 100644 --- a/lib/feature.pm +++ b/lib/feature.pm @@ -191,9 +191,11 @@ This feature is available starting with Perl 5.16. It's possible to load a whole slew of features in one go, using a I<feature bundle>. The name of a feature bundle is prefixed with -a colon, to distinguish it from an actual feature. At present, the -only feature bundles correspond to Perl releases, e.g. C<use feature -":5.10"> which is equivalent to C<use feature qw(switch say state)>. +a colon, to distinguish it from an actual feature. At present, most +feature bundles correspond to Perl releases, e.g. C<use feature +":5.10"> which is equivalent to C<use feature qw(switch say state)>. The +only bundle that does not follow this convention is ":default", which is +currently empty. By convention, the feature bundle for any given Perl release includes the features of previous releases, down to and including 5.10, the |