> Finally, there's a way to stop non-identical strings from matching just because they have the same numerical value.
Um, this has been there for decades:
$a = '123';
$b = '123.0';
print $a == $b ? 'y' : 'n'; # prints y
print $a eq $b ? 'y' : 'n'; # prints n