in reply to Re: How to get a slice of hash ref that a sub returns.
in thread How to get a slice of hash ref that a sub returns.

You can drop the %{}:

sub x { return {qw(a b c d)}; } print @{x()}{"a","c"};
I find that references quick reference makes this stuff easy to remember.

        - tye (but my friends call me "Tye")