简体   繁体   中英

using cpan with 2 installed perl

I have 2 perl installed

/usr/bin/perl

and

/usr/local/perls/perl-5.16.2/bin/perl

I am using

cpan -i Compress::Zlib installs

to install perl modules

What to do to have perl modules installed for /usr/local/perls/perl-5.16.2/bin/perl (using cpan -i ) since by default cpan -i installs perl modules in /usr/bin/perl ?

Thank you

要为v5.16.2安装模块,请使用

/usr/local/perls/perl-5.16.2/bin/cpan

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM