Re: perl --version is not at perl5.36 but at perl5.34 yet both are listed as active

2023-08-15 Thread Kenneth Wolcott
Hi Pieter;

> After sudo port install perl5 +perl5_36
> I get:
> ~ $ perl --version
>
> This is perl 5, version 36, subversion 1 (v5.36.1) built for 
> darwin-thread-multi-2level

This worked absolutely fine!  So, something silently failed the last
time that Perl was updated/upgraded...

Thanks,
Ken


Re: perl --version is not at perl5.36 but at perl5.34 yet both are listed as active

2023-08-15 Thread Pieter van Oostrum
Kenneth Wolcott  writes:

> Hi;
>
>   I'm confused about what Perl I have installed vi MacPorts and what
> is active and what I can use.
>
[snip]
> I apparently don't understand enough about how to use "port select"
> even after several readings.
>
> On a slightly off-topic question, I'm still trying to replace all
> "universal" ports with aarch64 ports (native) and when I install
> and/or upgrade, I always specify "-s".  I've only had one problem (so
> far) with this.
>
> Thanks,
> Ken Wolcott

After sudo port install perl5 +perl5_36
I get:
~ $ perl --version

This is perl 5, version 36, subversion 1 (v5.36.1) built for 
darwin-thread-multi-2level
-- 
Pieter van Oostrum 
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]


Re: perl --version is not at perl5.36 but at perl5.34 yet both are listed as active

2023-08-14 Thread Maxim Abalenkov
Dear gentlemen,

How are you? It shouldn’t be that difficult to fix perl-select. Can we do that?

Also if you are interested in using the _latest_ Perl, you would be pleased to 
find out that Perl v5.38 came out recently (in the early days of June).

—
Best wishes,
Maxim

> On 14 Aug 2023, at 06:01, Kenneth Wolcott  wrote:
> 
> HI Bill;
> 
>  Thanks for your reply.
> 
>  I'll point to /opt/local/bin/perl5.36 in my scripts.
> 
> Thanks,
> Ken


Re: perl --version is not at perl5.36 but at perl5.34 yet both are listed as active

2023-08-13 Thread Kenneth Wolcott
HI Bill;

  Thanks for your reply.

  I'll point to /opt/local/bin/perl5.36 in my scripts.

Thanks,
Ken


Re: perl --version is not at perl5.36 but at perl5.34 yet both are listed as active

2023-08-13 Thread Bill Cole

On 2023-08-13 at 20:21:23 UTC-0400 (Sun, 13 Aug 2023 17:21:23 -0700)
Kenneth Wolcott 
is rumored to have said:


Hi;

  I'm confused about what Perl I have installed vi MacPorts and what
is active and what I can use.


The short simple answer is: BOTH.



port installed | grep perl5
  ack @3.6.0_0+perl5_34
  ack @3.7.0_0+perl5_34 (active)
  docbook2X @0.8.8_11+perl5_34 (active)
  git 
@2.39.1_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34
  git 
@2.39.2_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34
  git 
@2.40.0_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34
  git 
@2.40.1_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34
  git 
@2.41.0_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34 
(active)

  icoutils @0.32.3_1+perl5_34 (active)
  net-snmp @5.9.1_1+perl5_34+ssl (active)
  ossp-uuid @1.6.2_13+perl5_34+universal
  ossp-uuid @1.6.2_13+perl5_34 (active)
  perl5 @5.34.1_0+perl5_34 (active)
  perl5.34 @5.34.1_0 (active)
  perl5.36 @5.36.0_0
  perl5.36 @5.36.1_0 (active)
  po4a @0.66_0+perl5_34 (active)
  xmltoman @0.4_1+perl5_34 (active)

which perl
/opt/local/bin/perl

perl --version | head -2 | tail -1
This is perl 5, version 34, subversion 1 (v5.34.1) built for
darwin-thread-multi-2level


Note the illuminating output of "ls -l /opt/local/bin/perl*"

Which version is pointed to by the 'perl' symlink is determined by the 
variant of the perl5 port.




It looks like many perl5-based utilities are not yet updated to
perl5.36, yet I'd like to use perl5.36 when I'm writing a perl
program.


The layout of perl's components allows you to have multiple independent 
versions  installed without interfering with each other. In theory.




I apparently don't understand enough about how to use "port select"
even after several readings.


Yeah, I don't think the perl-select port works.




--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


perl --version is not at perl5.36 but at perl5.34 yet both are listed as active

2023-08-13 Thread Kenneth Wolcott
Hi;

  I'm confused about what Perl I have installed vi MacPorts and what
is active and what I can use.

port installed | grep perl5
  ack @3.6.0_0+perl5_34
  ack @3.7.0_0+perl5_34 (active)
  docbook2X @0.8.8_11+perl5_34 (active)
  git @2.39.1_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34
  git @2.39.2_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34
  git @2.40.0_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34
  git @2.40.1_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34
  git @2.41.0_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34 (active)
  icoutils @0.32.3_1+perl5_34 (active)
  net-snmp @5.9.1_1+perl5_34+ssl (active)
  ossp-uuid @1.6.2_13+perl5_34+universal
  ossp-uuid @1.6.2_13+perl5_34 (active)
  perl5 @5.34.1_0+perl5_34 (active)
  perl5.34 @5.34.1_0 (active)
  perl5.36 @5.36.0_0
  perl5.36 @5.36.1_0 (active)
  po4a @0.66_0+perl5_34 (active)
  xmltoman @0.4_1+perl5_34 (active)

which perl
/opt/local/bin/perl

perl --version | head -2 | tail -1
This is perl 5, version 34, subversion 1 (v5.34.1) built for
darwin-thread-multi-2level

It looks like many perl5-based utilities are not yet updated to
perl5.36, yet I'd like to use perl5.36 when I'm writing a perl
program.

I apparently don't understand enough about how to use "port select"
even after several readings.

On a slightly off-topic question, I'm still trying to replace all
"universal" ports with aarch64 ports (native) and when I install
and/or upgrade, I always specify "-s".  I've only had one problem (so
far) with this.

Thanks,
Ken Wolcott