in reply to Hash of arrays
print( STDERR "key is \"$key\"\n" ); print( STDERR "t is \"$t\"\n" ); [download]
Run again and see if that brings up any obvious issues.