Branch: refs/heads/haarg/allow-use-version-overlap-for-noop-versions
  Home:   https://github.com/Perl/perl5
  Commit: 2f8aefb1205b58a0851ee05b5d47faab081ba928
      
https://github.com/Perl/perl5/commit/2f8aefb1205b58a0851ee05b5d47faab081ba928
  Author: Graham Knop <ha...@haarg.org>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

  Changed paths:
    M op.c
    M t/lib/warnings/op
    M t/lib/warnings/pp_ctl

  Log Message:
  -----------
  allow multiple use v5.x declarations in some cases where it's harmless

We want to disallow using multiple "use v5.x" declarations in the same
scope, but there are some cases we know to be harmless.

For versions before 5.11, the use declaration was only a version check
with no side effects. If two version declarations are used and both are
below 5.11, we can safely ignore it without a warning or error.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to