in reply to THREE new perl releases

!!! Important Update !!!

It appears all three of the new versions were broken: I don't have details. Each has been superseded by a newer version. I've collated the information in the following table.

Broken Release Broken Release Delta Fixed Release Fixed Release Delta
5.34.2 5.34.2 Δ 5.34.3 5.34.3 Δ
5.36.2 5.36.2 Δ 5.36.3 5.36.3 Δ
5.38.1 5.38.1 Δ 5.38.2 5.38.2 Δ

— Ken

  • Comment on Re: THREE new perl releases [Updated releases!]

Replies are listed 'Best First'.
Re^2: THREE new perl releases [Updated releases!]
by cavac (Prior) on Nov 30, 2023 at 11:10 UTC

    5.38.1 installed normally for me on 10+ installations and works fine with the 100+ modules i installed.

    From what i can tell, the main change in the new release is Module::CoreList, which should be easily fixable by installing the new version on the existing 5.38.1 installation.

    But of course, since the new Perl release also comes with a new B::Op_private, ye olde cpan upgrade will fail with an error in the middle of the process :-(

    To be clear, i'm not complaining that perlporters had to make an emergency bugfix release; in fact i'm glad that everyone reacted quickly and efficiently. I'm just frustrated that all the work i did monday was now made worse-than-useless, and i have to run through that whole process again. If this problem had happened on a normal feature relase, i wouldn't have started the upgrade process for a couple of weeks. But since it was an important patch for some security problems, i started right away...

    Oh well, back to building pyramids.

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP

      G'day cavac,

      I posted "Updated releases!" as soon as I became aware of the newer versions. I did actually think of you, as you'd written:

      "Guess i'll be spending most of today reinstalling Perl+Modules on my 15+ systems i administrate..."

      Hoping 🏗️◭◮ is not too onerous.

      — Ken

        No worries. I'd rather install two security updates a week than having a gaping hole in my server without having access to some way to fix it :-)

        PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
Re^2: THREE new perl releases [Updated releases!] - build perl v5.38.2 from source
by eyepopslikeamosquito (Archbishop) on Dec 04, 2023 at 08:12 UTC

    Having been burnt before, I had the luxury of being able to wait a few days (unlike cavac).

    With no new PM questions posted today, I decided to build perl v5.38.2 from source, using the same steps as last time (but installed into $HOME/my/p5382 this time, i.e. $ type perl - perl is hashed $HOME/my/p5382/bin/perl) and it seems to be working nicely so far, at least kcott's and Tux's superb Unicode utilities are both working flawlessly. :)

    Of course, having just completed that chore, I'm half expecting an urgent new perl v5.38.3 to be rushed out tomorrow (hope saying that doesn't jinx cavac's pyramid building :).

    See Also

    • Perl Download (perl.org) - getting started quickly (notes the latest stable version)
    • CPAN Perl source code (cpan.org) - how to build/install perl from source (notes the latest stable version)

    Extra Modules Installed Later (Update)

    Got errors using kcott's perlu alias (described at Re^2: Another Unicode/emoji question) ... to remedy, installed IPC::System::Simple:

    $ alias perlu='perl -Mstrict -Mwarnings -Mautodie=:all -Mutf8 -C -E' $ type perlu perlu is aliased to `perl -Mstrict -Mwarnings -Mautodie=:all -Mutf8 -C + -E' $ perlu 'say chr 0x1f436; say chr 128054;' IPC::System::Simple required for Fatalised/autodying system() at -e li +ne 0. main::BEGIN() called at -e line 0 eval {...} called at -e line 0 BEGIN failed--compilation aborted.

    As noted at SO question, it seems strange that a core functionality requires a non-core module, and quietly too (doesn't complain at installation). See also: perl-autodie missing dependency for IPC::System::Simple (RedHat bugzilla).

    This fixed my perlu issue:

    $ type perl perl is hashed ($HOME/my/p5382/bin/perl) $ cd $HOME/my/p5382 $ cpanm --from https://www.cpan.org/ --verify IPC::System::Simple 2>&1 + | tee IPC-System-Simple.tmp --> Working on IPC::System::Simple Fetching https://www.cpan.org/authors/id/J/JK/JKEENAN/IPC-System-Simpl +e-1.30.tar.gz ... OK Fetching https://www.cpan.org/authors/id/J/JK/JKEENAN/CHECKSUMS ... OK Configuring IPC-System-Simple-1.30 ... OK Building and testing IPC-System-Simple-1.30 ... OK Successfully installed IPC-System-Simple-1.30 1 distribution installed

    $ perlu 'say chr(0x1f436); say chr(128054);'
    🐶
    🐶
    $ perlu 'say "\x{1f436}"'
    🐶
    $ perlu 'say "\N{DOG FACE}"'
    🐶
    $ echo -e '\U1f436'
    🐶

    For more detail on perl character escapes see: perlrebackslash (perldoc)

    Later, installed Data::Dump and List::MoreUtils and Module::Starter:

    $ cd $HOME/my/p5382 $ cpanm --from https://www.cpan.org --verify Data::Dump 2>&1 | tee Dat +a-Dump.tmp $ cpanm --from https://www.cpan.org --verify List::MoreUtils 2>&1 | te +e List-MoreUtils.tmp $ cpanm --from https://www.cpan.org --verify Module::Starter 2>&1 | te +e Module-Starter.tmp

    TODO: Install more CPAN modules (e.g. List::AllUtils and stuff by PEVANS e.g. List::UtilsBy, List::Keywords, ...). Further analysis of perlrun and utf8.

    👁️🍾👍🦟