Perl5 wrapper port...usage...?

Michael Parson mparson at bl.org
Sun Oct 15 15:20:51 UTC 2017


On 2017-10-15 00:22, Carlo Tambuatco wrote:
> So as I understand, the perl_select port is obsolete, right?
> 
> I’ve got perl5 wrapper port as well as the perl5.24 variant installed.
> I’ve also got various other perl versions installed so my perl
> installation list looks like:
> 
>   perl5 @5.24.2_0+perl5_24 (active)
>   perl5.16 @5.16.3_4 (active)
>   perl5.18 @5.18.4_3 (active)
>   perl5.22 @5.22.4_0 (active)
>   perl5.24 @5.24.2_0 (active)
> 
> with all the various default perl programs symlinked to perl5.24. If I
> wanted to switch the default
> perl5.x to any of my other perl versions, what is the mechanism for
> doing so now that
> perl_select no longer recognizes any installed perl?

This should be handled with 'port select'

Try:

port select --show perl5  # show which 'perl5' is currently selected

port select --list perl5  # list which pkgs you can select for 'perl5'

sudo port select perl5 perl5.16  # use 'perl5.16' as your current 
'perl5'

-- 
Michael Parson
Pflugerville, TX
KF5LGQ



More information about the macports-users mailing list