summaryrefslogtreecommitdiff
path: root/pod/perl5110delta.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-07-08 11:58:41 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-07-08 11:58:41 +0200
commit4b3db487f2a64105d4cb4cbb187011b49745df03 (patch)
tree888c55993974304f21aef66cca285c4bc1941e7f /pod/perl5110delta.pod
parent82fefbc11a2c40ae31a465cd30908fcc30719803 (diff)
downloadperl-4b3db487f2a64105d4cb4cbb187011b49745df03.tar.gz
Mention in perldelta that "use 5.011" enables strictures
Diffstat (limited to 'pod/perl5110delta.pod')
-rw-r--r--pod/perl5110delta.pod13
1 files changed, 13 insertions, 0 deletions
diff --git a/pod/perl5110delta.pod b/pod/perl5110delta.pod
index b6f8619411..e9e9efa160 100644
--- a/pod/perl5110delta.pod
+++ b/pod/perl5110delta.pod
@@ -129,6 +129,19 @@ line match modifier C</s>. (If C<\N> is followed by an opening brace and
by a letter, perl will still assume that a Unicode character name is
coming, so compatibility is preserved.) (Rafael Garcia-Suarez)
+=head2 Implicit strictures
+
+Using the C<use VERSION> syntax with a version number greater or equal
+to 5.11.0 will also lexically enable strictures just like C<use strict>
+would do (in addition to enabling features.) So, the following:
+
+ use 5.11.0;
+
+will now imply:
+
+ use strict;
+ use feature ':5.11';
+
=head2 Parallel tests
The core distribution can now run its regression tests in parallel on