in reply to problem with variables
Try comparing your numbers to a fixed number of decimal places.
e.g.
This is not a Signature...
e.g.
if (sprintf("%.3f",$x) == sprintf("%.3f",$y)) { print "IS equal to 3 dp\n"; };
This is not a Signature...
In Section
Seekers of Perl Wisdom