What have I forgotten about specifying which Perl should be /opt/local/bin/perl?

Ryan Schmidt ryandesign at macports.org
Sat Jan 22 14:02:43 UTC 2022


On Jan 21, 2022, at 22:48, Kastus Shchuka wrote:

> This is for example what I have:
> 
> $ port installed and perl5

port installed perl5

"installed" is the command, "perl5" is the list of ports the command will operate on.

> The following ports are currently installed:
>  perl5 @5.26.1_0+perl5_28
>  perl5 @5.28.3_0+perl5_28
>  perl5 @5.28.3_0+perl5_30 (active)
> 
> If you want to see just the active port, you may trim down the output like this:
> 
> $ port installed and active and perl5

port installed active and perl5

> The following ports are currently installed:
>  perl5 @5.28.3_0+perl5_30 (active)



More information about the macports-users mailing list