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", ...
In reply to Re: use constant for strings
by dws
in thread use constant for strings
by shemp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |