What is the easiest way to detect compilation failures, missing packages, etc. In a Perl application?

I have a Perl application that someone wrote and am trying to run it on my local computer. But I keep getting an error in one of the modules, which is apparently based on a missing module somewhere. What are some good tools or methods to track this thing?

+3
source share
1 answer

If you have a missing module, you will receive an error message:

Cannot find Do / Not / Exist.pm in @INC (@INC contains: /etc/perl/usr/local/lib/perl/5.10.0/usr/local/share/perl/5.10.0/usr/lib/ perl5 / usr / share / perl5 / usr / lib / perl / 5.10 / usr / share / perl / 5.10 / usr / local / lib / site_perl.).

Perl - CPAN. CPAN, :

perl -MCPAN -e shell

Perl/Linux.

, :

  • perl Makefile.PL, , . , , , .

  • 'use' 'require'.

+5

All Articles