diff options
author | Ricardo Signes <rjbs@semiotic.systems> | 2022-05-24 21:40:08 -0400 |
---|---|---|
committer | Ricardo Signes <rjbs@semiotic.systems> | 2022-05-24 21:40:08 -0400 |
commit | 284bff3576ad54f44080bb878edc6d62c0ca2d6f (patch) | |
tree | acfe3ffdd736a43509fd70be9b636dd8bacb3f6c | |
parent | 6a9ee6334c270f52a31436273c2ff497f66682c8 (diff) | |
download | perl-284bff3576ad54f44080bb878edc6d62c0ca2d6f.tar.gz |
perl5360delta: clarify future of use VERSION and strict
-rw-r--r-- | pod/perldelta.pod | 4 |
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 |