in reply to Modification of non-creatable hash value attempted
Maybe $u is such a read-only hash? Or a tied hash that doesn't support modification?
It would help if you could provide a small sample that lets us reproduce the problem.