perl-Scalar-Util is not a rpm fedora package
but
what about
perl-Scalar-List-Utils
which provides
perl(Scalar::Util) ?
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
> Sent: Sunday, February 20, 2022 at 2:28 PM
> From: "Sam Varshavchik" <mrsam(a)courier-mta.com>
> To: "Community support for Fedora users"
<users(a)lists.fedoraproject.org>
> Subject: Re: Perl is now failing for me
>
> Fulko Hew writes:
>
> > or
> >
> >
> > $ cpan
> > Attempt to reload Scalar/Util.pm aborted.
>
> Looks like you have installed additional Perl modules, bypassing Fedora's
> packaged perl RPMs. This is likely resulted in unintentional corruption or
> incompatibility with your base Fedora perl installation, in some unknown
> manner that nobody, I'm afraid, can diagnose for you.
>
> > Can anyone suggest where to start?
> > For example... Why is it trying to reload Scalar::Util?
>
> Who knows. Attempting to elicit logic from an illogical state of affairs is
> unlikely to succeed.
>
> At this point, it might be faster for you to simply wipe everything and
> reinstall Fedora. An unintentional power loss on my laptop right after an
> upgrade resulted in an unbootable brick, by default, with some weird
> complaint. Manually selecting an older kernel from grub completed the boot.
>
> Rather than trying to tinker and figure out WTF, I just wiped and
> reinstalled. Took only two hours to do. It might be faster for you to do the
> same.
>
> Afterwards, try not to use cpan in combination with the system-installed
> perl. First of all, there is a very likely possibility that whatever module
> you needed, there's already a Fedora RPM for it. Install it, and call it a
> day.
>
> If you do need a very custom Perl ecosystem, with CPAN and all those bells
> and whistles: you should build your own Perl core from scratch. Install it
> somewhere else, in /usr/local maybe. Use CPAN with it, to your heart's
> content, without touching the system perl.
>
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
> 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/users@lists.fedoraproject.org
> Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
>