Latest Fedora delivers 0.092292 version. Upstream released 0.100000. When you have free time, please upgrade it.
This package refuses to build on all versions of Fedora, because upstream claims "There is no functioning lexical exporter between perl v5.20 and v5.38"
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?
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
Latest Fedora delivers 0.092292 version. Upstream released 1.000. When you have free time, please upgrade it.
AFAIU, Sub-Exporter-Lexical-1.000 requires perl(Lexical::Sub) (rsp. perl-Lexical-Var) >= 0.10 or perl >= v5.37.2 ATM, no Fedora release provides such a perl and only rawhide provides perl(Lexical::Sub) >= 0.10 => it's impossible to upgrade perl-Sub-Exporter-Lexical on Fedora < f39. I'll build perl-Sub-Exporter-Lexical for rawhide and file upgrade requests for perl-Lexical-Var for Fedoras < f39