in reply to Syntax Error using STRICT and Declaring Variable

Altering the three assignment lines to:
my %chicago = map { $_ => 1 } qw(tiger bob munch toy); my %wisconsin = map { $_ => 1 } qw( tiger sara munch toy ); my %rockford = map { $_ => 1 } qw( tiger sara love toy );
gives you the following output:
toy tiger

The map command iterates over each element in the array (e.g. ('tiger','bob','munch','toy')) and assigns a key with the name of that element and a value of 1.