Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10013

Upgrade perl to 5.36

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Severe (Users) Severe (Users)
    • None
    • None

      Recently released is perl version 5.36 which will be an important update. This version will be the base for the forthcoming perl 7 and will remove a lot of boilerplate code by making many "use <package>" statements happen by default. These packages have been recommended by perl devs for many years now in modern perl development. 

      This allows one to activate many new features and remove boilerplate with a single line "use v5.36;".. thereby replacing such things as "use strict;" and "use warnings;" an enabling features that are no longer "experimental" like function signatures. 

      This would also deprecate that "use v<version>" younger than  v5.11 .. so that could effect some scripts that are extremely old.

      Official announcement:
      https://perldoc.perl.org/perl5360delta

      Summary article that explains the practical benefits:
      https://www.i-programmer.info/news/90-tools/15502-perl-536-released-whats-new.html?fbclid=IwAR3xQqPMmOEDA5_VQuBBU_VXANEnRXBpTksrB8RzwOO6gw3gA8VLhkud_9c

      I'm very excited about having this available on my Funtoo machines in system perl as soon as it is practical. Even more exciting is that this is a prelude to v7 which will likely include a way overdue upgrade to the OO system. Doing this upgrade now will make it much easier to move to v7 when it arrives, since this is a significant step forward for perl. 

            s4uliu5 s4uliu5
            haxmeister haxmeister
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: