in reply to Data extraction from hash problem

you have a transposition error.

8594 in the data
8954 in $ValidTest

Both of the 'direct' tests work for me, I don't see anything wrong with them.

/\/\averick