in reply to Re: Find common values in a hash and print the respective keys
in thread Find common values in a hash and print the respective keys

Is this more golfing or obfuscation regarding %y ? =)

    my (%x, %y) = (a => 1, b => 2, c => 3, d => 1, e => 2, f => 1);

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^3: Find common values in a hash and print the respective keys
by kcott (Archbishop) on May 26, 2013 at 22:06 UTC

    While neither golfing nor obfuscation was intended, your point is well taken: I've updated my node.

    Thanks (and ++ when the Vote Fairy next visits).

    -- Ken