in reply to Anonymous hash with array

I'm not sure of exactly why that doesn't work, but I find it's easier to read and write this kind of de-referencing with the arrow notation: $frq_node{$key}->[0]->{$to} ++; that might fix things for you...