Re: cpan or perl -MCPAN ?

2008-04-04 Thread LesleyB
Thanks for the reply Yitze. I simply wondered whether there was any benefit. I haven't yet tried the perl -MCPAN approach but have spent most of the day in cpan. I would expect to see perl -MCPAN in an anutomated approach somewhere I guess. I have successfully updated some modules locally

cpan or perl -MCPAN ?

2008-04-03 Thread LesleyB
Hi 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

Re: cpan or perl -MCPAN ?

2008-04-03 Thread yitzle
I'm just guessing here, but I'm going to suggest that both methods ultimately call the same code and are therefore equivalent. Though the cpan command takes arguments, so it might speed stuff up. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cpan or perl -MCPAN ?

2008-04-03 Thread Chas. Owens
On Thu, Apr 3, 2008 at 7:35 AM, LesleyB [EMAIL PROTECTED] wrote: snip Which method is considered better - using cpan as a command at the command line or using 'perl -MCPAN -e ..'' ? snip The cpan script was added in Perl 5.8.1. It is a command line interface to the CPAN module, so it is not

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

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

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

how/where to install xyz.pm from CPAN (no perl Makefile.PL; make; make test; make install)??

2004-10-11 Thread Ken Wolcott
Hi; I see several very interesting CPAN modules regarding Rational/IBM ClearCase. These are just *.pm files. How/where do I install these? I have root privs. I want the modules to be available in the standard place(s). I guess I should just look at the %INC hash and place it in a good

Re: how/where to install xyz.pm from CPAN (no perl Makefile.PL; make; make test; make install)??

2004-10-11 Thread Randy W. Sims
On 10/11/2004 11:01 PM, Ken Wolcott wrote: Hi; I see several very interesting CPAN modules regarding Rational/IBM ClearCase. These are just *.pm files. How/where do I install these? I have root privs. I want the modules to be available in the standard place(s). I guess I should just look

Re: how/where to install xyz.pm from CPAN (no perl Makefile.PL; make; make test; make install)??

2004-10-11 Thread Ken Wolcott
to completely rewrite one of my build scripts as I have scripted myself into a corner :-( I can't seem to use a Perl CPAN XML module in conjunction with ClearCase, as I did not see the ClearCase Perl modules on CPAN until today, and the ClearCase commands I was calling where in a setview exec mode

Can CPAN upgrade perl?

2002-08-14 Thread KEVIN ZEMBOWER
This might be a dumb question, but it's probably a beginner's one. How can I use CPAN to upgrade perl itself? I think this is possible, because it's happened to me inadvertently when I was trying to upgrade a module. I've tried 'install perl' and 'install perl5.8.0' but neither works

Re: CPAN and Perl

2001-12-20 Thread Daniel Gardner
Thursday, December 20, 2001, 11:20:35 PM, Daniel Falkenberg wrote: I was just wondering if any one here has any experience with download Perl CPAN modules from a Perl script. I have looked at CPAN.pm but am a little confused by this. I have tried the following... #!/usr/bin/perl -w use

Re: HowTo prevent CPAN upgrading perl.

2001-12-06 Thread Scott R. Godin
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Gary Stainburn) wrote: Hi all, I'm trying to install RT2 - perl helpdesk suite, but it depends on a load of modules which it will automaticall install using CPAN (I believe) as part of the install script. Is it possible to tell CPAN *not*

HowTo prevent CPAN upgrading perl.

2001-12-05 Thread Gary Stainburn
Hi all, I'm trying to install RT2 - perl helpdesk suite, but it depends on a load of modules which it will automaticall install using CPAN (I believe) as part of the install script. Is it possible to tell CPAN *not* to upgrade perl in the progress. In the past, if I've let CPAN install a

Re: HowTo prevent CPAN upgrading perl.

2001-12-05 Thread Daniel Gardner
GS In the past, if I've let CPAN install a bundle for just about anything, it's GS also gone and tried to upgrade perl first which to put it bluntly shafts my GS box. I would like to avoid this while still making use of CPAN. i believe that newer versions of the CPAN module don't have this