for ex :
my @array = @{$element->{$key}{'test'}}} ;
print @array; # its shows array reference
use Data::Dumper ;
print Dumper @array ;
# it print $VAR1 = [ '1'
2'
]
How to access these values and how deference array