|Perl Monk, Perl Meditation|
How to add path to @INCby TSN (Acolyte)
|on May 20, 2016 at 21:21 UTC||Need Help??|
TSN has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying install a module, e.g. 'installed', through cpan, however I got an error:
Can't locate TryCatch.pm in @INC
However TryCatch is installed but in a path that is not in @INC, TryCatch is in ~/.cpan/build/TryCatch-1.003002-0KBiDH/lib!
I see a lot of option as adding 'use lib...' on top of script Add 'export PERL5LIB=...' at bash
But is not what I need, I need that has effect on cpan!
Can you help me?