Branch: refs/heads/haarg/update-use-version-docs Home: https://github.com/Perl/perl5 Commit: f1e176460658a7eadca28bc6c2b10ce3494a2edb https://github.com/Perl/perl5/commit/f1e176460658a7eadca28bc6c2b10ce3494a2edb Author: Graham Knop <ha...@haarg.org> Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths: M pod/perlfunc.pod Log Message: ----------- update documentation of use VERSION to match current behavior Perl now deprecates using use VERSION multiple times in the same scope with different versions. From v5.39, it is fatal. Update the documentation to reflect that. 'use VERSION' would also never disable strict, with or without a previously set 'use strict'. This was previously implied by the Also the previously deprecated case of downgrading the requested version It is now fatal to request a version lower than 5.11 after requesting a version greater than 5.11. This means that a use VERSION will never disable strict. So while internally, an explicit use strict is still tracked as distinct from strict from a use VERSION, this will have no impact. Remove the mention of use strict overriding a later use VERSION. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications