rjray has asked for the wisdom of the Perl Monks concerning the following question:
Something detonated my CPAN shell between successive runs. Now, when I try to install a new module, I see this:
Installing Data::Dump::Streamer I can install a shortcut so you can use the package 'DDS' as though it was 'Data::Dump::Streamer'. This is handy for oneliners. *Note* that if you select 'no' below and you already have it installed then it will be removed. Would you like me to install the shortcut? (yes/no) [no] Checking if your kit is complete... Looks good Warning: PERL_LIB (/usr/share/perl/5.8) seems not to be a perl library + directory (Exporter.pm not found) at /usr/local/share/perl/5.8.8/ExtUtil +s/MM_Unix.pm line 1727. Writing Makefile for Data::Dump::Streamer Use of inherited AUTOLOAD for non-method main::version::(""() is depre +cated at /usr/local/share/perl/5.8.8/CPAN.pm line 10254. Catching error: 'Can\'t locate auto/main/version/("".al in @INC (@INC +contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5 +.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/per +l/5.8 /usr/local/lib/site_perl /home/users/rjray) at /usr/local/share +/perl/5.8.8/CPAN.pm line 10254 ' at /usr/local/share/perl/5.8.8/CPAN.pm line 281 CPAN::shell() called at /usr/local/bin/cpan line 198
I don't suppose anyone else has seen this? I don't relish going diving in search of the cause of this...
(Things like this make me wish there were a section on PM for "WTF?")
Update: Fixed formatting of code snippet