in reply to How to add path to @INC
What directory is TryCatch installed in? Add that directory to 'use lib' or PERL5LIB. That will add it to @INC. If it's not in INC, perl won't find it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to add path to @INC
by TSN (Acolyte) on May 20, 2016 at 22:42 UTC | |
| [reply] |
by choroba (Cardinal) on May 20, 2016 at 22:54 UTC | |
It seems like the path where your CPAN client built it, but it should then be installed somewhere else - /opt/perl, /usr/lib/perl, /usr/local/, ~/perl5, etc. Try searching for TryCatch harder.
| [reply] [d/l] |
by TSN (Acolyte) on May 20, 2016 at 23:27 UTC | |
When I try install it again through cpan I have the test failed:
The Scope::Upper module is already installed too but in the directory ~/.cpan/build/Scope-Upper-0.28-DoTw6Z/lib What should I do to make it in the right directory | [reply] [d/l] |
by choroba (Cardinal) on May 20, 2016 at 23:41 UTC | |
by TSN (Acolyte) on May 21, 2016 at 00:12 UTC | |
Sorry about my ignorance! | [reply] [d/l] |
In Section
Seekers of Perl Wisdom