News for hackers. Stuff that matters.
Re:What’s new in Perl 5, Version 13 by prakashk on Tuesday September 28, 2010 @11:02AM (#1735872)
I like the changes. Best of all, the non-destructive substitution.
Re:What’s new in Perl 5, Version 13 by onedognight on Tuesday September 28, 2010 @11:53AM (#1736070)
I agree that s///r is quite nice. In particular a use case that was not mentioned is that chained substitutions are now allowed.

    $foo = $bar =~ s/this/that/r
                =~ s/that/the other/r;