首页 > 代码库 > Can't locate File/Copy/Recursive.pm in @INC (@INC contains:

Can't locate File/Copy/Recursive.pm in @INC (@INC contains:

今天运行perl脚本的时候,发现一个找不到“Recursive.pm”的错误:

Can‘t locate File/Copy/Recursive.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level


BEGIN failed--compilation aborted at xxxx.pl line 6.


解决的方法是安装缺少的Recursive.pm,敲入下面的命令:


android:antt lee$ perl -MCPAN -e install "install File::Copy::Recursive"




Can't locate File/Copy/Recursive.pm in @INC (@INC contains: