in reply to Re^2: accessing hash
in thread accessing hash

"$query{$putword} = {...}" is correct. Maybe you forgot to remove the final ')'. Check opening and closing parens.