Right ok because of
this thread I'm going to give you the benefit of the doubt.
You had more code than that in your original post and it showed that each line ended with pack: %x, therefore you should be using * %x as a wildcard instead of * %x * in the $read command.