in reply to question of substitution
But not the same as:$foo = $bar; $foo =~ s/this/that/;
To make assignment/substitution in the given order you must$foo = $bar =~ s/this/that/; #which will return the result of a substitution #because of the lower priority of assignment operator
|
|---|