If $site{$_} contains an array reference, you can simply get the first item with $site{$_}[0] - no need for all those curlies.
In reply to Re^3: hash references
by moritz
in thread hash references
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |