Re: Upgrade from Debian 11 to Debian 12 Broke Perl.

[email protected] (John SJ Anderson) Mon, 11 Mar 2024 11:27:50 -0700
Newsgroups perl.beginners
Message-ID <[email protected]>
> Can't locate warnings/unused.pm in @INC (you may need to install the =
warnings::unused module) (@INC contains: /etc/perl =
/usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 =
/usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 =
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 =
/usr/share/perl/5.36 /usr/local/lib/site_perl) at /home/martin/etc/p2 =
line 3.
> BEGIN failed--compilation aborted at /home/martin/etc/p2 line 3.
>=20
> So, if I try to use cpanp and re-add that module, I get:
>=20
> 1wb5agz martin tmp $ cpanp -i Warnings::Unused
> ERROR] 'Warnings::Unused' does not contain an author part
>=20
> [ERROR] Cannot find 'Warnings::Unused' in the module tree

=E2=80=9CWarnings::Unused=E2=80=9D !=3D =E2=80=9Cwarnings::unused=E2=80=9D=


Try `cpanp warnings::unused`.

j.