in reply to Exists in HASH issue

In order to assign to a hash, you must pass in a matching value for every key, which can be arbitrary, ie 'AALIYAH' => 1, 'AARON' => 1, etc.

A common idiom for this is expressed using map():

my %WORD = map ( $_ => 1 ), ('AALIYAH', 'AARON', 'ABBE' , 'ABBEY', 'ABBI', 'ABBIE', 'ABBIGAIL', 'A +LEX');