I have a loop in place that has the following within it. The loop goes through the values in an array and splits each array value up into the @vals array to use below. A typical example of the values in the original array are :
A split is then performed on the values (using tilde) to populate the array @vals below. When the loop hits the below check for 101010 it satisfies the if statement. The second time through for 101010USED the if statement isn't satisfied. Why is this the case? Before the loop %vHASH would have it's values set up as follows :
Any explanation to why this is happening would be greatly appreciated. Thanks.