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

Romeo Ninov rninov@mailbg.com
Tue, 20 Jul 2004 18:17:06 +0300


Try perl -MCPAN -e shell
If this not work find on CD package with name perl-CPAN* and install it

On Tue, 2004-07-20 at 16:01, linux wrote:
> 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.
> _______________________________________________
> Whitebox-users mailing list
> Whitebox-users@beau.org
> http://beau.org/mailman/listinfo/whitebox-users