Skip to content

Check installed perl packages

Begasus edited this page Sep 9, 2023 · 1 revision

Check if the installed perl module is present in the system.

In a Terminal type:

Examples Good (produces no errors):

  • perl -e "use SDL"
  • perl -e "use Archive::Extract

Bad: (will produce an error, for the record the module is called SDL and not SDL::Perl):

  • perl -e "use SDL::perl" Can't locate SDL/perl.pm in @INC (you may need to install the SDL::perl module) (@INC contains: /boot/home/config/lib/perl5/5.32.1/x86_64-haiku /boot/home/config/lib/perl5/5.32.1 /boot/home/config/non-packaged/lib/perl5/site_perl/5.32/x86_64-haiku /boot/home/config/non-packaged/lib/perl5/site_perl/5.32 /boot/home/config/lib/perl5/vendor_perl/5.32/x86_64-haiku /boot/home/config/lib/perl5/vendor_perl/5.32 /boot/home/config/lib/perl5/vendor_perl /boot/system/lib/perl5/5.32.1/x86_64-haiku /boot/system/lib/perl5/5.32.1 /boot/system/non-packaged/lib/perl5/site_perl/5.32/x86_64-haiku /boot/system/non-packaged/lib/perl5/site_perl/5.32 /boot/system/lib/perl5/vendor_perl/5.32/x86_64-haiku /boot/system/lib/perl5/vendor_perl/5.32 /boot/system/lib/perl5/vendor_perl) at -e line 1.