http://www.perlmonks.org?node_id=997147


in reply to Re: Parsing text file into a hash with multiple values per key
in thread Parsing text file into a hash with multiple values per key

Ah... thanks, that did it...don't know why I couldn't see that.

$guest unless $guest takes care of the duplicates I was seeing.

I'd tried (scalar @{ $hash{$_} }) but must have munged some of the syntax. Thanks again, problem solved.

Replies are listed 'Best First'.
Re^3: Parsing text file into a hash with multiple values per key
by Kenosis (Priest) on Oct 03, 2012 at 22:58 UTC

    You're most welcome! Am glad these worked for you.