Hello I have a simple question.
If I am comparing a string with decimals in it, such as
5.1, 5.1.1, 5.2, using if statement, my program currently is only reading 5.1 if I am searching for 5.1.1, what am I doing wrong?
if (x == 5.1) {
print "x";}
elsif (x == 5.1.1) {
print "x2";} ect.......