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
In reply to Re: question of substitution
by sh1tn
in thread question of substitution
by wannabeboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |