in reply to array holding reference of hash and another array

This is explained very nicely in perlreftut.

For example to get the keys of the hash, use:

my @keys = keys %{ $arr[1] };
Perl 6 - links to (nearly) everything that is Perl 6.