why not:
$a = $b if($a ne $b);
You should not be using $a and $b however, as they are "special" variables used by sort
They say that time changes things, but you actually have to change them yourself.
Andy Warhol
In reply to Re: Replace $a with $b if $a ne $b
by JediWizard
in thread Replace $a with $b if $a ne $b
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |