Jeri has asked for the wisdom of the Perl Monks concerning the following question:
This makes since, since I just deleted it, but why isn't it finding the system cpan? (/usr/bin/cpan) What's strange to me is if I typeionadmin@ion-torrent-server:/usr/share$ cpan -bash: /usr/local/bin/cpan: No such file or directory
it works just fine. How can I access the interactive mode by typing just "cpan"? How can I get cpan to locate itself at /usr/bin/cpan?ionadmin@ion-torrent-server:/usr/share$ perl -MCPAN -e shell Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v2.00) Enter 'h' for help. cpan[1]> exit
ionadmin@ion-torrent-server:/usr/bin$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/game +s
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: interactive mode cpan. "cpan" doesn't work. "perl -MCPAN -e shell" does
by Anonymous Monk on Feb 12, 2014 at 18:40 UTC | |
by Jeri (Scribe) on Feb 12, 2014 at 20:51 UTC | |
by Jeri (Scribe) on Feb 12, 2014 at 21:05 UTC | |
by Anonymous Monk on Feb 13, 2014 at 01:08 UTC |