summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@semiotic.systems>2022-05-24 21:40:08 -0400
committerRicardo Signes <rjbs@semiotic.systems>2022-05-24 21:40:08 -0400
commit284bff3576ad54f44080bb878edc6d62c0ca2d6f (patch)
treeacfe3ffdd736a43509fd70be9b636dd8bacb3f6c
parent6a9ee6334c270f52a31436273c2ff497f66682c8 (diff)
downloadperl-284bff3576ad54f44080bb878edc6d62c0ca2d6f.tar.gz
perl5360delta: clarify future of use VERSION and strict
-rw-r--r--pod/perldelta.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index cc6f7de40f..615d725f8b 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -296,8 +296,8 @@ been disabled>. In other words:
use v5.12; # will not enable strict, because "no strict" preceded it
$x = 1; # permitted, despite no "my" declaration
-In the future, this behavior will be eliminated. C<use VERSION> will now I<always>
-enable strict for versions that I<ever> enable it.
+In the future, this behavior will be eliminated and C<use VERSION> will
+I<always> enable strict for versions v5.12 and later.
Code which wishes to mix versions in this manner should use lexical scoping
with block syntax to ensure that the differently versioned regions remain