English 中文(简体)
地方建筑
原标题:Local cpan builds

d 我愿使用一张家庭目录,专门使用非专用目录,用于从板块中安装一只。 我怎么能混淆?

普通国家网络组合试图将包件安装到<代码>/usr。 在添加<条码>后,添加了插头_arg => q[PREF=~/cpan_ local],简单的包件似乎正在建造,但我无法建造一个包裹,使其附属地——没有发现依赖性。

在我改为<代码>后,添加_arg =>q [PREFIX=~/cpan_ local LiB=~/cpan_ local],我收到以下信息:Warning: Prerequisite ExtUtils:CBuilder => 0.27 for D/DA/DAGOLDEN/Module-Build-0.3607.tar.gz 已经安装,但安装情况可疑。 • 寻找另一个安装装置,以便无休止地防止 lo。

我怎么能适当地混淆? 我想,为达到<代码>~/cpan_ local而做的一切都自动。 (或为熟悉 p的人,我喜欢做如下工作:virtual-env

最佳回答

更佳的是,/usr/ local/lib/perl*上填写。 该名录将在其家庭名录中采用书面形式,或通过<代码>-l- local-lib,在您的家名录中直接安装该编码,如果能够安装广域网,则无需改动。

最后,安装 当地:lib 并自动通过<代码>bashrc建立您的环境 档案将允许你放弃<条码>-当地-校准/代码>选择,并直接安装在你的家名录上。

问题回答

http://search.cpan.org/perldoc? local:lib” rel=“nofollow noreferer”> local:lib。 boot锁指示应当为你trick。





相关问题
Why does my chdir to a filehandle not work in Perl?

When I try a "chdir" with a filehandle as argument, "chdir" returns 0 and a pwd returns still the same directory. Should that be so? I tried this, because in the documentation to chdir I found: "...

How do I use GetOptions to get the default argument?

I ve read the doc for GetOptions but I can t seem to find what I need... (maybe I am blind) What I want to do is to parse command line like this myperlscript.pl -mode [sth] [inputfile] I can use ...

Object-Oriented Perl constructor syntax and named parameters

I m a little confused about what is going on in Perl constructors. I found these two examples perldoc perlbot. package Foo; #In Perl, the constructor is just a subroutine called new. sub new { #I ...

Where can I find object-oriented Perl tutorials? [closed]

A Google search yields a number of results - but which ones are the best? The Perl site appears to contain two - perlboot and perltoot. I m reading these now, but what else is out there? Note: I ve ...

热门标签