Re: Need some help on installing modules...

[email protected] (John Delacour)
Newsgroups perl.macosx
Message-ID <p06240805c959514d055b@[192.168.1.68]>
At 17:29 -0500 16/01/2011, Levan, Jerry wrote:


>Is doing a:
>
>     sudo perl -MCPAN -e shell
>
>The standard way of preparing to install modules?
>
>Seems like root might only be needed for actual installation...

With sudo you are superuser; that's quite good enough.

I never do it that way.  I just type sudo cpan, as I said.

In fact I don't usually do that because I work mainly with my own 
installation of perl, so I do


$ cd /usr/local/bin; sudo ./cpan

in order to get the modules installed where I want them and not in 
the Apple installation.  I wouldn't trust Apple to overwrite their 
own installation.  I trust them to take my money and not much else.

JD
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.