# Dereference and copy contents my @executions = @{ $jobInfo->{'content'}{'executions'} }; # Just use it as an arrayref my $executions = $jobInfo->{'content'}{'executions'}; print scalar @$executions, "\n"; print "element 0 is ", $executions->[0], "\n";