in reply to Re: Replace $a with $b if $a ne $b
in thread Replace $a with $b if $a ne $b

Take this values of $a and $b:

$a = 12; $b = 2;

From his words:

if $a does not match $b

I assume he wouldn't want to put the 2 in $a, as $a already matches $b.