summaryrefslogtreecommitdiff
path: root/lib/feature.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-06-07 08:47:49 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-06-07 08:47:49 +0000
commitc0cd9745eff7ade24b21241c8d00f081a66d24b8 (patch)
tree3d429a9ccfa56c87c5d171dfeb2762849acb2ecf /lib/feature.pm
parent7b8203e3be66f22041237ce6c371ea09ae857f20 (diff)
downloadperl-c0cd9745eff7ade24b21241c8d00f081a66d24b8.tar.gz
Make "use feature 'dor'" an alias for "use feature 'err'"
p4raw-id: //depot/perl@28365
Diffstat (limited to 'lib/feature.pm')
-rw-r--r--lib/feature.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/feature.pm b/lib/feature.pm
index 240d46dc46..238820e723 100644
--- a/lib/feature.pm
+++ b/lib/feature.pm
@@ -8,6 +8,7 @@ my %feature = (
"~~" => "feature_~~",
say => "feature_say",
err => "feature_err",
+ dor => "feature_err",
state => "feature_state",
);
@@ -82,6 +83,10 @@ operator from here to the end of the enclosing BLOCK.
C<err> is a low-precedence variant of the C<//> operator:
see C<perlop> for details.
+=head2 the 'dor' feature
+
+The 'dor' feature is an alias for the 'err' feature.
+
=head2 the 'state' feature
C<use feature 'state'> tells the compiler to enable C<state>