in reply to use constant for strings
The tokens WISCONSON and ILLINOIS are being treated as "barewords", thanks to '=>'. To force them to be interpeted, you can do something like
or risk a bit of duplication and writemy %capitol_map = ( (WISCONSON) => "Madison", ...
my %capitol_map = ( WI => "Madison", ...
|
|---|