in reply to Bad index while coercing array into hash

You're looping over @ET 11 times when it only contains 6 elements.