3 ms·
I like the changes. Best of all, the non-destructive substitution.
by prakashk 16y ago
I like the changes. Best of all, the non-destructive substitution.
- draegtun 16y agoHere is a list of changes since 5.12 (thus far!): * http://search.cpan.org/~shay/perl-5.13.5/pod/perl5131delta.pod http://search.cpan.org/~shay/perl-5.13.5/pod/perl5131delta.p... * http://search.cpan.org/~shay/perl-5.13.5/pod/perl5132delta.pod http://search.cpan.org/~shay/perl-5.13.5/pod/perl5132delta.p... * http://search.cpan.org/~shay/perl-5.13.5/pod/perl5133delta.pod http://search.cpan.org/~shay/perl-5.13.5/pod/perl5133delta.p... * http://search.cpan.org/~shay/perl-5.13.5/pod/perl5134delta.pod http://search.cpan.org/~shay/perl-5.13.5/pod/perl5134delta.p... * http://search.cpan.org/~shay/perl-5.13.5/pod/perldelta.pod http://search.cpan.org/~shay/perl-5.13.5/pod/perldelta.pod
- onedognight 16y agoI 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;