This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Mention the syntax C<use feature ':5.10'> in feature.pm's synopsis
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 1 Mar 2007 15:22:52 +0000 (15:22 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 1 Mar 2007 15:22:52 +0000 (15:22 +0000)
p4raw-id: //depot/perl@30438

lib/feature.pm

index 91e4562..b8256f4 100644 (file)
@@ -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