3 ms·
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/tha
by onedognight 16y ago
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;