Thanks! Would you recommend I uninstall ActiveState and install Perlbrew
first?

Ryan




On 12/21/11 12:52 PM, "Phil Dobbin" <[email protected]> wrote:

>On 21/12/11 16:27, "Ryan.Barracuda" <[email protected]> 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: [email protected]
>For additional commands, e-mail: [email protected]
>http://learn.perl.org/
>
>



-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to