Bug#1078118: libuniversal-exports-perl: warns on usage with Perl 5.40: Subroutine UNIVERSAL::import redefined

Niko Tyni ntyni at debian.org
Wed Aug 7 09:14:53 BST 2024


Package: libuniversal-exports-perl
Version: 0.05-4
Severity: important
Tags: trixie sid
User: debian-perl at lists.debian.org
Usertags: perl-5.40-transition

This module warns on usage with Perl 5.40 (currently in experimental).
This causes an autopkgtest regression.

  https://ci.debian.net/packages/libu/libuniversal-exports-perl/unstable/amd64/50046521/

  $ perl -e 'use UNIVERSAL::exports'
  Subroutine UNIVERSAL::import redefined at /usr/share/perl5/Exporter/Lite.pm line 56.

Apparently UNIVERSAL has started to define an 'import' method, as mentioned in

  https://metacpan.org/dist/perl/view/pod/perldelta.pod#Calling-the-import-method-of-an-unknown-package-produces-a-warning

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list