Doesn't this do that directly? $a = $b; The conditional seems unnecessary since it has no effect.
After Compline,
Zaxo
In reply to Re: Replace $a with $b if $a ne $b
by Zaxo
in thread Replace $a with $b if $a ne $b
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |