http://qs1969.pair.com?node_id=660533


in reply to Re: hash from CSV-like structure
in thread hash from CSV-like structure

Super, many thanks jZed - that works!

Replies are listed 'Best First'.
Re^3: hash from CSV-like structure
by jZed (Prior) on Jan 05, 2008 at 19:06 UTC
    To avoid undef warnings, you might want to make the duplicate check more like this:
    next if $results{$val} and $hash->{$key1} and $hash->{$key1}->{$key2};