##
@array = (
{
'a'=>'b',
'b'=>'c'
},
{
'c'=>'d',
'd'=>'e'
},
{
'e'=>'f',
'f'=>'g'
}
);
print $array[1]{c}; #result d;
####
%hash = (
"1" => ['a','b'],
"2" => ['c','d'],
"3" => ['e','f'],
);
print $hash{1}[0]; result a
####
%hash = (
"1" => {
'a'=>'b',
'b'=>'c'
},
"2" => {
'c'=>'d',
'd'=>'e'
},
"3" => {
'e'=>'f',
'f'=>'g'
}
);
print $hash{2}{d}; #result e