How can I control the Perl version I want?
Ryan Schmidt
ryandesign at macports.org
Thu Jan 5 10:59:29 PST 2012
On Jan 5, 2012, at 12:52, Rodolfo Aramayo wrote:
> Thanks but the problem is that the port:
>
> perl5 @5.12.3_1+perl5_12 (active)
>
> was installed by another port not by me...I requested:
> perl5.14 @5.14.1_2
No problem. Multiple perls can happily coexist.
> So I did what you guys suggested and issued the command:
>
> port install perl5 perl5.14 @5.14.1_2+threads
>
> but the "perl --version" port still is: "This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-multi-2level"
That should not be. /opt/local/bin/perl should now be a simlink to perl5.14. What does "ls -l /opt/local/bin/perl" and "port installed perl5" show? What does "which perl" show?
> Should I uninstall ALL perls before issuing the command:
>
> port install perl5 perl5.14 @5.14.1_2+threads??
No.
More information about the macports-users
mailing list