summaryrefslogtreecommitdiff
path: root/lib/feature.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-03-01 15:22:52 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-03-01 15:22:52 +0000
commitec488c7f13c4270af54fc91b6664495b5831b7ec (patch)
tree83ef421b7cd33b245a265b132030b9e184420b12 /lib/feature.pm
parent7720784cfc8001e7c546c909588283698979d689 (diff)
downloadperl-ec488c7f13c4270af54fc91b6664495b5831b7ec.tar.gz
Mention the syntax C<use feature ':5.10'> in feature.pm's synopsis
p4raw-id: //depot/perl@30438
Diffstat (limited to 'lib/feature.pm')
-rw-r--r--lib/feature.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/feature.pm b/lib/feature.pm
index 91e4562ea6..b8256f4a19 100644
--- a/lib/feature.pm
+++ b/lib/feature.pm
@@ -36,6 +36,8 @@ feature - Perl pragma to enable new syntactic features
default { say "None of the above" }
}
+ use feature ':5.10'; # loads all features available in perl 5.10
+
=head1 DESCRIPTION
It is usually impossible to add new syntax to Perl without breaking