我收到错误
Can't locate Facebook.pm
我想知道是否有人可以告诉我如何在 debian 下安装 perl facebook 模块。
谢谢
完整错误是
Can't locate Facebook.pm in @INC (@INC contains: Plugins Modules . /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/lib/cgi-bin/index.cgi line 8.
BEGIN failed--compilation aborted at /usr/lib/cgi-bin/index.cgi line 8.
答案1
“WWW::Facebook::API”?
尝试(以 root 身份):
cpan install WWW::Facebook::API
您需要安装“cpan”(应该与 perl 一起安装,但不确定是否适用于 Debian)