No, @{$site1{$_}} is a "normal" array. Hopefully $site1{$_} is a reference to an array, otherwise you are in trouble (either you have "use strict" then this will give an error, without it you might get no error but it still won't work as you intent
What you probably want is something like $site1{$_}->[1]. This will access array index 1 of the array pointed to by $site{$_}
In reply to Re^3: hash references
by jethro
in thread hash references
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |