我是perl的菜鸟。
我使用安装在/usr/lib/perl5/site_perl
CentOS 5 上的 perl 模块。在 CentOS 6 上,perl 搜索路径 (@INC) 中缺少该目录。
在 CentOS 5 perl -V 输出上:
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
.......
.......
Built under linux
Compiled at Sep 3 2009 10:26:51
@INC:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.8
.
在 CentOS 6 perl -V 输出上:
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
.....
.....
Built under linux
Compiled at Jun 22 2012 13:27:28
@INC:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
.
我现在应该把拱独立的东西放在哪里?