in reply to Count array element in HASH of ARRAYS

Do you mean the number of elements in each array? If so:

say "number of elements in key1 are ". scalar @{ $HoA{key1} }

Neil Watson
watson-wilson.ca

Replies are listed 'Best First'.
Re^2: Count array element in HASH of ARRAYS
by stevieb (Canon) on Jul 20, 2015 at 13:50 UTC

    I think he means how many of the first element in each array can be aggregated together where the second element in each array match ie. count the number of first elements where the second elems match.