in reply to accessing elements of reference to hash of arrays

> I’m failing to do this inside the function.

Could you please be more specific?

Did you check the passed ref with Data::Dumper to see if its populated?

Did you get the keys printed?

What is "failing"?

Cheers Rolf

(addicted to the Perl Programming Language)

update

Does your example even compile? I count (at least) one missing closing bracket.

  • Comment on Re: accessing elements of reference to hash of arrays

Replies are listed 'Best First'.
Re^2: accessing elements of reference to hash of arrays
by johnguillory (Initiate) on Jul 10, 2014 at 21:36 UTC
    LanX, I found my mistake after trying dumper. I wasn't even passing the correct hash into the function. Geez. Thank you! John