On 21/12/11 16:27, "Ryan.Barracuda" <ryan.barrac...@elboardo.com> wrote:

> I can only install cpan modules as sudo. I installed ActiveState Perl
> v.5.14.2 and cpanm without a problem.
> 
> $ cpanm Net::SMTP
> -bash: /usr/local/bin/cpanm: /usr/bin/perl: bad interpreter: No such file or
> directory
> 
> However, with sudo
> 
> $ sudo cpanm Net::SMTP
> Net::SMTP is up to date. (2.31)
> 
> How do I install cpan modules without being sudo?

I'd suggest perlbrew:

<http://www.perlbrew.pl/>

I highly recommend it.

HTH,

Cheers,

    Phil...

-- 
Nothing to see here... move along, move along


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to