cpan or perl -MCPAN ?


I'm using Linux for some perl play.

Which method is considered better - using cpan as a command at the
command line or using 'perl -MCPAN -e ..'' ?

Does using CPAN by either method above ensure the latest version of
any given module or does it give the latest module for the particular
version of Perl?.

I'm running 5.8 and am aware 5.10 is out there - I would hope modules
would fall gracefully back to 5.8.8 but am aware this might not happen
for some modules.




Relevant Pages

  • trying to install a cpan module
    ... command prompts, etc, so it's probably no surpise that I'm having some ... Then I gathered some courage and went for a cpan install. ...
  • Re: Can Ruby stay ahead ?
    ... The 'cpan' command comes with Perl. ... installation. ... or inside the gem itself; would need to extract and render it. ...
  • Re: CPAN install Problem
    ... SuSE Linux Enterprise Server 9.0, kernel 2.6, ... perl v5.8.3, CPAN v1.8801. ... Die meiste Pakete gehen ok, ... Can't locate Module/Build/ in @INC (@INC contains: ...
  • Re: problems building perl modules, path question
    ... cpan> o conf commit ... that's core perl stuff. ... command that I applied to the core was chmod -R 644 as I said ...
  • Re: Can Ruby stay ahead ?
    ... the star ratings can help you whittle down the options to the best. ... The 'cpan' command comes with Perl. ... installation. ...