Slashdot Mirror


Perl 5.22 Released

kthreadd writes: Version 5.22 of the Perl programming language has just been released. A major new feature in this release is the double diamond operator; like the regular diamond operator it allows you to quickly read through files specified on the command line but does this in a much safer way by not evaluating special characters in the file names. Other new features include hexadecimal floating point numbers, improved variable aliasing and a nicer syntax for repetition in list assignment. Also, historical Perl modules CGI.pm and Module::Build are removed from the core distribution.

3 of 92 comments (clear)

  1. Re:Perl still around? by prof_robinson · · Score: 5, Informative

    Perl isn't going anywhere. In fact, installs and contributions to CPAN are up almost 1200% in the last 10 years. What's happened to Perl, is it's become ubiquitous...it's literally everywhere. It's not our fault you haven't noticed.

  2. Re:Perl still around? by rduke15 · · Score: 5, Informative

    Replaced where? Apparently not on my Debian servers:

    # find /etc /bin /sbin /usr/bin /usr/sbin -type f | xargs file | grep "Perl script" | wc -l
    119
    # find /etc /bin /sbin /usr/bin /usr/sbin -type f | xargs file | grep "Python script" | wc -l
    29

  3. Re:hexadecimal floating point numbers? by gnasher719 · · Score: 4, Informative

    What's the use case for hexadecimal floating point numbers? Seems like a "Why not" feature.

    Useful when you implement high quality transcendental functions and need floating-point constants that are guaranteed to be converted exactly as intended.