Re: sudo and cpan

2004-05-07 Thread _brian_d_foy
In article <[EMAIL PROTECTED]>, Joel Rees <[EMAIL PROTECTED]> wrote: > On 2004.5.6, at 08:08 PM, Joel Rees wrote: > > What's the difference between perl -mCPAN (or whatever that was) and > > /usr/local/bin/cpan? > > perl -MCPAN -e shell > > is interactive. so is my cpan script, when calle

Re: sudo and cpan

2004-05-06 Thread x
Hi! I am new to the list. Here is what I have learned so far about perl and the Mac. 1.) My experience with Mac OS X is that you need to heavily modify your PATH. If you add /usr/bin to the path you can just type perl -MCPAN -eshell. I also verified that the size of perl matched the perl versi

Re: sudo and cpan

2004-05-06 Thread Chris Devers
On Thu, 6 May 2004, Joel Rees wrote: > Thanks. Any thoughts about the file locks left over when I run without > sudo and quit? Your CPAN home directory should be something like ~/.cpan/ -- look in there for a lock file, possibly owned by root. Delete it while the CPAN shell isn't running (use sud

Re: sudo and cpan

2004-05-06 Thread Joel Rees
On 2004.5.6, at 09:58 PM, Chris Devers wrote: ... But anyway, back to your original question. Your /usr/bin/cpan should just be a little Perl script that amounts to little more than this: $ /usr/bin/perl -MCPAN -e shell hmm. I could have sworn I'd ended up with non-interactive behavior when I

Re: sudo and cpan

2004-05-06 Thread Chris Devers
On Thu, 6 May 2004, Joel Rees wrote: > On 2004.5.6, at 08:08 PM, Joel Rees wrote: > > What I'm thinking about is learning enough sh to split the path and > insert /usr/local/bin in the middle, because I really don't want to put > > set path=(/bin /sbin /usr/local/bin /usr/bin /usr/sbin) > > i

Re: sudo and cpan

2004-05-06 Thread Andrew M. Langmead
On May 6, 2004, at 7:08 AM, Joel Rees wrote: When you have perl 5.6 as the system perl (/usr/bin) and perl 5.8 as a parallel install in /usr/local/bin, you want to set your user's path to put /usr/local/bin in front of /usr/bin before you run cpan, so cpan doesn't get confused, right? The 'cpan

Re: sudo and cpan

2004-05-06 Thread Joel Rees
On 2004.5.6, at 08:08 PM, Joel Rees wrote: Okay, I seem to have forgotten how to use CPAN. Where are the detailed instructions? (perldoc cpan only gets me a page.) And while I'm making noise, When you have perl 5.6 as the system perl (/usr/bin) and perl 5.8 as a parallel install in /usr/local/bi

sudo and cpan

2004-05-06 Thread Joel Rees
Okay, I seem to have forgotten how to use CPAN. Where are the detailed instructions? (perldoc cpan only gets me a page.) And while I'm making noise, When you have perl 5.6 as the system perl (/usr/bin) and perl 5.8 as a parallel install in /usr/local/bin, you want to set your user's path to put