This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5360delta: clarify future of use VERSION and strict
authorRicardo Signes <rjbs@semiotic.systems>
Wed, 25 May 2022 01:40:08 +0000 (21:40 -0400)
committerRicardo Signes <rjbs@semiotic.systems>
Wed, 25 May 2022 01:40:08 +0000 (21:40 -0400)
pod/perldelta.pod

index cc6f7de..615d725 100644 (file)
@@ -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