当我尝试运行时uniscan.pl
,perl ./uniscan.pl
收到以下消息:
Can't locate Moose.pm in @INC (@INC contains: ./Uniscan
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .)
at Uniscan/Crawler.pm line 3.
BEGIN failed--compilation aborted at Uniscan/Crawler.pm line 3.
Compilation failed in require at ./uniscan.pl line 25.
BEGIN failed--compilation aborted at ./uniscan.pl line 25.
答案1
这可以帮助
apt-get install libmoose-perl
答案2
我安装了 libwww-perl 并且它可以工作。
sudo apt-get install libwww-perl