News for hackers. Stuff that matters.
Re:Perl 7 is going to be Perl 5.32, mostly by IvyMike on Wednesday June 24, 2020 @01:04PM (#23630699)
Regular expressions as a first class language feature.
Re:Perl 7 is going to be Perl 5.32, mostly by cutler on Wednesday June 24, 2020 @01:24PM (#23630989)
Ruby also has this.
Re:Perl 7 is going to be Perl 5.32, mostly by earthboundkid on Wednesday June 24, 2020 @01:35PM (#23631146)
Ruby really is Perl done right. I can't really see any argument for Perl over Ruby as a language.
Re:Perl 7 is going to be Perl 5.32, mostly by ulysses on Wednesday June 24, 2020 @02:13PM (#23631702)
Speed. I moved mostly to Ruby years ago, but when doing lots of text processing, a trivial script in Perl runs a lot faster than a similar trivial script in Ruby.
Re:Perl 7 is going to be Perl 5.32, mostly by dhosek on Wednesday June 24, 2020 @01:44PM (#23631280)
use strict. In Perl you can prevent something like the following from compiling. You can't with Ruby (unless they've finally addressed that).

   $foo = 2;
   if (some_test()) {
      $fooo = 3;
   }
Re:Perl 7 is going to be Perl 5.32, mostly by cutler on Wednesday June 24, 2020 @02:12PM (#23631698)
Shouldn't that be:

    my $foo = 2;

?
Re:Perl 7 is going to be Perl 5.32, mostly by dhosek on Wednesday June 24, 2020 @02:19PM (#23631771)
I was leaving the declaration implicit.
Re:Perl 7 is going to be Perl 5.32, mostly by empath75 on Wednesday June 24, 2020 @01:13PM (#23630813)
You should see some of the atrocities I had to debug at aol because of regex abuse.