[WBEL-users] Error when starting perl in the command line mode

linux linux@akelanetwork.com
Tue, 20 Jul 2004 09:01:01 -0400


Hi all, 

I've tried to invoke:
#perl -MCPAN -eshell 

and I got this error:
Can't locate CPAN.pm in @INC (@INC contains: 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .).
BEGIN failed--compilation aborted. 

I've googled it and saw many similar cases but not really helpful.  People 
generally recommended to install CPAN.pm.  The problem is I can't even get 
in the command line mode :) 

Any tips or should I reinstall perl from scratch? 

Thanks in advanced.