in reply to Re^7: Error opening file handle within while loop (uninitialized value in array)
in thread Error opening file handle within while loop
Was just checking, seemed to be a problem with splitting by tab (I thought it was a tab delimited file) rather than whitespace, which fixed it and gave the correct number of elements in the array. All working now, apologies for the collection of simple errors, and thanks for everybody's help!