https://bugzilla.redhat.com/show_bug.cgi?id=2165567 --- Comment #2 from Paul Howarth <paul@xxxxxxxxxxxx> --- The reasoning for this looks to be that the upstream Lexical-Var distribution (which contains Lexical::Sub, and provides support for lexical exports in the absence of native support, i.e. prior to 5.37.2) hasn't been updated for the best part of a decade and is broken with Perl 5.22 onwards. The Fedora perl-Lexical-Var package includes a patch to fix this (see also https://rt.cpan.org/Public/Bug/Display.html?id=115992), as does the CPAN distribution Alt::Lexical::Var::ButSupportModernPerl. The approach taken in Exporter::Tiny, which recently added lexical export support, is to check for the availability of Lexical::Sub at runtime and use it if available. It adds a "recommends" dependency on Lexical::Sub or Alt::Lexical::Var::ButSupportModernPerl (depending on the perl version) in the Makefile.PL to support that. The Fedora package just has a build dep (for testing) of perl(Lexical::Sub) and a Recommends: for it at runtime. Maybe Sub::Exporter::Lexical could do something similar? -- You are receiving this mail because: You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2165567 _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue