diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-09-07 09:25:24 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-09-07 09:25:24 +0000 |
commit | f23102e2d635682f5818275abd91b9deefde470e (patch) | |
tree | 7a900da7ce36a01ca6766a6172c7f23fa4a30922 /lib/feature.pm | |
parent | d052521ac15ab4bed8ae26dfa1c8e09c87be6d3c (diff) | |
download | perl-f23102e2d635682f5818275abd91b9deefde470e.tar.gz |
Remove the 'err' keyword
p4raw-id: //depot/perl@31812
Diffstat (limited to 'lib/feature.pm')
-rw-r--r-- | lib/feature.pm | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/feature.pm b/lib/feature.pm index d53699e967..73e4990805 100644 --- a/lib/feature.pm +++ b/lib/feature.pm @@ -6,12 +6,11 @@ our $VERSION = '1.11'; my %feature = ( switch => 'feature_switch', say => "feature_say", - err => "feature_err", state => "feature_state", ); my %feature_bundle = ( - "5.10.0" => [qw(switch say err state)], + "5.10.0" => [qw(switch say state)], ); # latest version here @@ -88,14 +87,6 @@ C<say> function. See L<perlfunc/say> for details. -=head2 the 'err' feature - -C<use feature 'err'> tells the compiler to enable the C<err> -operator. - -C<err> is a low-precedence variant of the C<//> operator: -see C<perlop> for details. - =head2 the 'state' feature C<use feature 'state'> tells the compiler to enable C<state> @@ -109,7 +100,7 @@ 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 are C<use feature ":5.10"> and C<use feature ":5.10.0">, -which both are equivalent to C<use feature qw(switch say err state)>. +which both are equivalent to C<use feature qw(switch say state)>. In the forthcoming 5.10.X perl releases, C<use feature ":5.10"> will be equivalent to the latest C<use feature ":5.10.X">. |