You should put quotes before and after 'Bray'.
change $address{Bray} to $address{'Bray'}
No, $address{Bray} is fine. Perl allows barewords for hash keys.
Update: Added content deleted from parent.
In reply to Re^2: References with hashes
by ikegami
in thread References with hashes
by brayshakes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |