How can I install CPAN modules locally without root access (DynaLoader.pm line 229 error)?

后端 未结 6 1207
花落未央
花落未央 2020-11-29 11:55

Doesn\'t work with other modules, but to give an example. I installed Text::CSV_XS with a CPAN setting:

\'makepl_arg\' => q[PREFIX=~/lib],
6条回答
  •  独厮守ぢ
    2020-11-29 12:21

    I strongly suggest installing your own perl in your own home directory, if you have space. Then you can keep everything under your control and keep your own module set, as well as escaping if the admins are keeping you on an older version of perl. (Not to mention preserving yourself if they upgrade some day and leave out all the modules you are relying on.)

提交回复
热议问题