Re: When CPAN shell cannot find a module

2005-11-23 Thread Christopher Hicks
On Mon, 21 Nov 2005, Ken Williams wrote: Think about what would happen if Satan uploaded a malicious distribution called PathTools with a higher version number than mine. You'd want the whole world to get Satan's distribution by default, just so they can save a couple keystrokes? Any

Re: When CPAN shell cannot find a module

2005-11-23 Thread David Manura
Well, I'm glad someone brought this up. I've always gotten the CPAN shell's i and install commands mixed up and have often wanted to pass a distribution name to it. First, the online help (? command) and error messages are not entirely helpful. Second, i appears too much like a shortcut for

Re: When CPAN shell cannot find a module

2005-11-22 Thread David Golden
Also, lack of distname support is overblowing the situation. Distnames are supported perfectly fine as long as you put it in the proper syntax with author's ID and version. I think the problem Jim encountered is that proper syntax is part of the arcana of CPAN. It's not obvious from the

Re: When CPAN shell cannot find a module

2005-11-21 Thread Andreas J. Koenig
On Sun, 20 Nov 2005 14:51:42 -0500, James E Keenan [EMAIL PROTECTED] said: I'm wondering if my diagnosis of the following annoying problem is correct. When I use the CPAN shell to install a distribution which does not include a package with the name of the distribution, the shell

Re: When CPAN shell cannot find a module

2005-11-21 Thread James E Keenan
Randy Kobes wrote: On Sun, 20 Nov 2005, James E Keenan wrote: [snip] Note that, if you know the distribtion you want to install, CPAN.pm understands cpan install KWILLIAMS/PathTools-3.14.tar.gz That's the step I was looking for: what to do once the 'i /somemodule/' command returns

Re: When CPAN shell cannot find a module

2005-11-21 Thread Christopher Hicks
On Sun, 20 Nov 2005, Andreas J. Koenig wrote: I don't think many people would appreciate getting something installed they didn't explicitly ask for. Hmmm. I can have extra pain every time I'm installing something to avoid occassionally getting something I don't want or I can have pain every

Re: When CPAN shell cannot find a module

2005-11-21 Thread Chris Dolan
On Nov 21, 2005, at 10:51 AM, Christopher Hicks wrote: On Sun, 20 Nov 2005, Andreas J. Koenig wrote: I don't think many people would appreciate getting something installed they didn't explicitly ask for. Hmmm. I can have extra pain every time I'm installing something to avoid

Re: When CPAN shell cannot find a module

2005-11-21 Thread Christopher Hicks
On Mon, 21 Nov 2005, Chris Dolan wrote: If CPAN made it easy to install unintended software by mistake, that would be a huge security hole. Some people run cpan as root. Defensive programming is absolutely the right thing here. And how exactly would a shortcut that says oh you asked for

Re: When CPAN shell cannot find a module

2005-11-21 Thread Randy Kobes
On Mon, 21 Nov 2005, Christopher Hicks wrote: On Mon, 21 Nov 2005, Chris Dolan wrote: If CPAN made it easy to install unintended software by mistake, that would be a huge security hole. Some people run cpan as root. Defensive programming is absolutely the right thing here. And how exactly

Re: When CPAN shell cannot find a module

2005-11-21 Thread Ken Williams
On Nov 21, 2005, at 10:51 AM, Christopher Hicks wrote: Hmmm. I can have extra pain every time I'm installing something to avoid occassionally getting something I don't want or I can have pain every thousandth time I install something because oopsie I got something extra. It doesn't seem

When CPAN shell cannot find a module

2005-11-20 Thread James E Keenan
I'm wondering if my diagnosis of the following annoying problem is correct. When I use the CPAN shell to install a distribution which does not include a package with the name of the distribution, the shell immediately tells me to use the 'i /distroname/' to find objects with matching

Re: When CPAN shell cannot find a module

2005-11-20 Thread Randy Kobes
On Sun, 20 Nov 2005, James E Keenan wrote: I'm wondering if my diagnosis of the following annoying problem is correct. When I use the CPAN shell to install a distribution which does not include a package with the name of the distribution, the shell immediately tells me to use the 'i