Re: cpan vs. perl -MCPAN -e

2004-12-10 Thread Chris Devers
On Fri, 10 Dec 2004, Jan Eden wrote:

> Is there any reason not to use it?

None at all.

I only steer people towards the `perl -MCPAN -e ...` version because 
that is very likely to work on any recentish copy of Perl. On the other 
hand, not all vendors seem to distrubute the `cpan` wrapper command, so 
for some people it isn't available. 

But by all means, if you've got it, use it! :-)
 

-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



Re: cpan vs. perl -MCPAN -e

2004-12-10 Thread Paul Johnson
On Fri, Dec 10, 2004 at 11:03:37AM +0100, Jan Eden wrote:

> I used to use
> 
> perl -MCPAN -e "install 'Some::Module'"
> 
> to install modules. Now I discovered the cpan tool (by chance) which allows 
> me to do:
> 
> cpan Some::Module
> 
> The manual page (date: 2003-09-12) is pretty self-explaining - but the
> script was never mentioned on this list.
> 
> Is there any reason not to use it?

No.  It's all the same code underneath.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



cpan vs. perl -MCPAN -e

2004-12-10 Thread Jan Eden
Hi,

I used to use

perl -MCPAN -e "install 'Some::Module'"

to install modules. Now I discovered the cpan tool (by chance) which allows me 
to do:

cpan Some::Module

The manual page (date: 2003-09-12) is pretty self-explaining - but the script 
was never mentioned on this list.

Is there any reason not to use it?

Thanks,

Jan
-- 
These are my principles and if you don't like them... well, I have others. - 
Groucho Marx

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]