abualiga has asked for the wisdom of the Perl Monks concerning the following question:

Hi All,

I ask the question here, because PerlMonks have been the stopping point for my perl education so far, but please redirect me if this is not the place for my question. I recently upgraded to Yosemite, perl 5.18, and installed and configured cpan (v2.00) for local installation of modules, ie no sudo needed to install. It works, I can install modules just fine. But when I run an instance of cpan, nothing I type on the prompt is visible. I enter a command, eg 'help', and get the expected output, but the letters I type are not visible in the session. I don't see anything I type in cpan. Never experienced this before, and would not know where to start trouble shooting. Your insight is greatly appreciated!

thanks!

Replies are listed 'Best First'.
Re: cpan on mac os x yosemite
by Anonymous Monk on Apr 05, 2015 at 01:44 UTC

    try export TERM=dumb before starting cpan ...

    could also try installing some Term::ReadLine:: module

      Thanks Anonymous -- that worked. No idea how though. The TERM variable changes from xterm-256color to dumb and my alias ls='ls -GpF -h' does not give color output anymore, but cpan is now visible. And thanks for the post crosslinking tip.

        Well :) you could always set term=dumb for perl only through perl options PERL5OPT / sitecustomize... even CPAN/MyConfig.pm ... after all its just an %ENV entry

        Also, depending on which Term::ReadLine:: you got there might be hints in the bug queue , rt://Term-ReadLine-Perl... or you might submit a bug report

        Also, export TERM=dumb does not play nice with vim.