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

Hi monks, I'm trying to access cpan and I get this error:
> cpan Cannot do `initialize' in Term::ReadLine::Gnu at /opt/local/lib/perl5/ +5.8.9/CPAN.pm line 248
I think I might have screwed up my libraries. Any suggestions on how I can reinstall them. I'm using OS X Snow Leopard (10.6). Thanks, Nacho

Replies are listed 'Best First'.
Re: Term::ReadLine::Gnu cannot initialize
by Tanktalus (Canon) on Nov 10, 2010 at 13:33 UTC

    Honestly, I've tried to install TRG so many times, and I can't remember it ever working for me. So I just install Term::ReadLine::Perl, and that Just Works(TM). So, based on that, I'd have to suggest trying a different ReadLine implementation.