in reply to Unique list of hashes

Make a key out of combined values to search for uniqueness ...

@uniq = grep !$seen{ join '' , sort values %{ $_ } }++ , @list ;

Replies are listed 'Best First'.
Re^2: Unique list of hashes
by Anonymous Monk on Mar 02, 2015 at 11:57 UTC
    Make a key out of combined values to search for uniqueness ... @uniq = grep !$seen{ join '' , sort values %{ $_ } }++, @list;

    So these are all the same?

    my @list = ( { foo=>'bar', quz=>'baz' }, { abc=>'bar', def=>'baz' }, { ijk=>'ba', xyz=>'rbaz' }, { r=>'ba', s=>'rba', t=>'z' }, { x=>'barbaz' }, );

      Using a delimiter that cannot appear in the values would be useful... like a pipe or such.

      Nope, not all are same as you already know. hdb has already given slightly complicated method to satisfy your situation.