in reply to a question on style
might look better asif ($x = $y) { print "$y = $x\n"; }
which is basically the same thing, but easyier to type and read.print "$y = $x\n" if ($x = $y);
but thats just my two cents.if ($y eq $x) { print "$y = $x\n"; } elsif ($debug eq 1) { print "$y != $x\n"; }
|
|---|