Thanks, that seems to have solved it. But I'm curious why this wasn't done by 
the install.

On Nov 5, 2011, at 7:02 PM, Phil Dobbin wrote:

> On 5/11/11 at 22:43, [email protected] (Jim Anderson) wrote:
> 
>> That worked, but now when I enter "cpan", a binary in the perl5.14 dist, I 
>> get
>> 
>> jim-andersons-macbook-pro:~ jander$ cpan
>> -bash: /usr/local/bin/cpan: /usr/local/bin/perl: bad interpreter: No such 
>> file or directory
>> 
>> Why is it looking on /usr/local and not in /opt/local?
> 
> You need to add the PATH for /opt/local/bin/perl to your .bash_profile.
> 
> Or you can run `sudo /opt/local/bin/perl -MCPAN -e shell` if you’re in a 
> hurry...
> 
> Cheers,
> 
>    Phil.
> --
> Please consider the environment before reading this email...
> 

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to