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

John SJ Anderson <[email protected]> Mon, 11 Mar 2024 11:27:50 -0700
Newsgroups gmane.comp.lang.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.
> 
> So, if I try to use cpanp and re-add that module, I get:
> 
> 1wb5agz martin tmp $ cpanp -i Warnings::Unused
> ERROR] 'Warnings::Unused' does not contain an author part
> 
> [ERROR] Cannot find 'Warnings::Unused' in the module tree

“Warnings::Unused” != “warnings::unused”

Try `cpanp warnings::unused`.

j.


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/