Help for this page
$w = "xyz"; &myfunc($a_ref->$w);
# My workaround my %a = %$a_ref; my %b = %{$a{$w}}; my $b_ref = \%b; &myfunc($b_ref);