in reply to Why did this error slip through?
Perl 6 solves this problem by having a separte syntax for literal hash keys (%hash<mykey>) and variable acess (%hash{$my_key_in_variable}).