Hi ARUN,

On Thu, 29 Nov 2012 13:56:24 -0600
ARUN SRINIVASAN <arunro...@gmail.com> wrote:

> I tried installing the cpanm using
> cpan APP:cpanminus
> 
> but since the user did not have write access on perl folders it did not
> complete successfully. I tried again using 'sudo' but it said error with
> 'index file'
> 
> Please check the validity of the index file by comparing it to more
> than one CPAN mirror. I'll continue but problems seem likely to
> happen.
> Warning: Your
> /home/arun1151/.cpan/sources/modules/02packages.details.txt.gz does not
> contain a Last-Updated header.
> 

Next time, you can use something like local::lib.

> Going to read '/home/arun1151/.cpan/sources/modules/03modlist.data.gz'
> Can't locate object method "data" via package "CPAN::Modulelist" (perhaps
> you forgot to load "CPAN::Modulelist"?) at (eval 23) line 1.
> 
> 
> As I didn't have time to dig in, I did a apt-get install of cpanminus. I
> was then able to install modules like DBI and works fine. I was wondering
> if two methods of installing have any differences and will it impact my
> module library by any chance.
> 

It shouldn't really, but you know the difference between theory and practice.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Why I Love Perl - http://shlom.in/joy-of-perl

There is no IGLU Cabal! Its members can be arranged in N! orders to form N!
different Cabals. The algorithm to find which order formulates the correct
IGLU Cabal is NP‐Complete.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to