- or download this
@array = (
['a','b'],
...
);
print $array[1][0]; #result c;
- or download this
@array = (
{
...
);
print $array[1]{c}; #result d;
- or download this
%hash = (
"1" => ['a','b'],
...
);
print $hash{1}[0]; result a
- or download this
%hash = (
"1" => {
...
);
print $hash{2}{d}; #result e