avatar
How to edit @INC array for perl?# Unix - 噫吁兮,危乎高哉
r*e
1
Man, this is killing me now.
I upgrad the perl on my machine to 5.8.0, but
the directories in @INC array still point
to 5.6.1. How can I change this? Thanks a lot.
avatar
p*f
2

which perl executable are you using, show it by perl -v.
if you are still using the old one, use alias or path to
find the 5.8.0 one.

【在 r**e 的大作中提到】
: Man, this is killing me now.
: I upgrad the perl on my machine to 5.8.0, but
: the directories in @INC array still point
: to 5.6.1. How can I change this? Thanks a lot.

avatar
r*e
3

perl -v tells me that the version is 5.8.0

【在 p******f 的大作中提到】
:
: which perl executable are you using, show it by perl -v.
: if you are still using the old one, use alias or path to
: find the 5.8.0 one.

avatar
r*e
4
I found the problem.
using perl -e 'for (@INC) {print "%d %s\n",$i++, $_}'
I can see that all the paths are updated.
But when I try to config my apache server to use some module,
its @INC still points to the old one.
Any idea how can I set that? Many thanks.

【在 p******f 的大作中提到】
:
: which perl executable are you using, show it by perl -v.
: if you are still using the old one, use alias or path to
: find the 5.8.0 one.

avatar
o*z
5
check something like
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Config.pm

【在 r**e 的大作中提到】
: I found the problem.
: using perl -e 'for (@INC) {print "%d %s\n",$i++, $_}'
: I can see that all the paths are updated.
: But when I try to config my apache server to use some module,
: its @INC still points to the old one.
: Any idea how can I set that? Many thanks.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。