Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > perl -MCPAN -e ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 11003 of 11065
Post > Topic >>

perl -MCPAN -e shell failed

by rich.japh@[EMAIL PROTECTED] (Richard Lee) Apr 28, 2008 at 11:41 PM

after freshelly installing fedora 9(which is preview version) and which 
has perl 5.10 fails command line perl module install.
Granted that it means I don't have cpan.pm module, how come it didn't 
come w/ it by default or did I do something wrong?

also, searching for CPAN.pm on cpan.org comes up w/ nothing.. can 
someone let me know please?

[root@[EMAIL PROTECTED]
 perl-5.8.1]# perl -v

This is perl, v5.10.0 built for i386-linux-thread-multi

Copyright 1987-2007, Larry Wall

Perl may be copied only under the terms of either the Artistic License 
or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/,
the Perl Home Page.

[root@[EMAIL PROTECTED]
 perl-5.8.1]# perl -MCPAN -e shell
Can't locate CPAN.pm in @[EMAIL PROTECTED]
 (@[EMAIL PROTECTED]
 contains: 
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 
/usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl/5.8.8 
/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.8.8 
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .).
BEGIN failed--compilation aborted.
[root@[EMAIL PROTECTED]
 perl-5.8.1]#




 3 Posts in Topic:
perl -MCPAN -e shell failed
rich.japh@[EMAIL PROTECTE  2008-04-28 23:41:09 
Re: perl -MCPAN -e shell failed
rob.dixon@[EMAIL PROTECTE  2008-04-29 19:35:17 
Re: perl -MCPAN -e shell failed
rich.japh@[EMAIL PROTECTE  2008-04-29 21:18:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 1:13:11 CDT 2008.