http://qs321.pair.com?node_id=665064


in reply to What Just Happened to my CPAN Shell?

How are you running cpan? perl -MCPAN? A script named cpan? In either case, which perl is it actually using, and did that somehow change?

Does /usr/share/perl/5.8 actually exist (it's probably a symlink to /usr/share/perl/5.8.8), and if so, does it contain Exporter.pm?

What modules did you recently install? (You can check perldoc perllocal to see.)

  • Comment on Re: What Just Happened to my CPAN Shell?

Replies are listed 'Best First'.
Re^2: What Just Happened to my CPAN Shell?
by rjray (Chaplain) on Jan 30, 2008 at 06:32 UTC

    Interestingly, installing Data::Dump::Streamer from its build directory (i.e., outside of the CPAN shell) worked fine, and installing other modules works fine as well. It would seem that there is/was something in the Makefile.PL for that module that interfered with CPAN...

    --rjray

Re^2: What Just Happened to my CPAN Shell?
by rjray (Chaplain) on Jan 30, 2008 at 06:23 UTC

    No, this is just the stock perl in Ubuntu. I'm calling cpan using the simple shell front-end that it installs. And you're correct that /usr/share/perl/5.8 is a symlink to /usr/share/perl/5.8.8.

    The last set of modules I'd installed in the run prior to this were AnyEvent, Config::Any, Module::CPANTS::Analyse, Module::ScanDeps and Safe. I think I'll try to roll back the Module::ScanDeps change, since that's the only one I can think of that would interfere with CPAN.

    --rjray