in reply to Complex data structure

In all cases you don't need to tack on the @ sigil. Your inner array simply needs another index,

foreach my $key (sort keys %hash){ print $hash{$key}[0]; print $hash{$key}[1]; print $hash{$key}[2][0]; print $hash{$key}[2][1]; }

After Compline,
Zaxo